diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2020-01-11 11:27:46 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2020-02-27 14:43:55 -0500 |
commit | 25e195aa1e607f129ab912d29fcfc79239703307 (patch) | |
tree | 76f7d6755f9f8f163c7556fa29f7bf913fd46b2a /security | |
parent | 26df6034fdb211857e069e7b07d25a368da646df (diff) |
follow_automount(): get rid of dead^Wstillborn code
1) no instances of ->d_automount() have ever made use of the "return
ERR_PTR(-EISDIR) if you don't feel like mounting anything" - that's
a rudiment of plans that got superseded before the thing went into
the tree. Despite the comment in follow_automount(), autofs has
never done that.
2) if there's no ->d_automount() in dentry_operations, filesystems
should not set DCACHE_NEED_AUTOMOUNT in the first place. None have
ever done so...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions