diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2011-09-27 02:36:09 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-09-27 04:16:46 +0200 |
commit | 815d405ceff0d6964683f033e18b9b23a88fba87 (patch) | |
tree | 2bec24a44bc3edbdcedf8ae65256a0533ce4e46a /include | |
parent | vfs pathname lookup: Add LOOKUP_AUTOMOUNT flag (diff) | |
download | linux-815d405ceff0d6964683f033e18b9b23a88fba87.tar.xz linux-815d405ceff0d6964683f033e18b9b23a88fba87.zip |
VFS: Fix the remaining automounter semantics regressions
The concensus seems to be that system calls such as stat() etc should
not trigger an automount. Neither should the l* versions.
This patch therefore adds a LOOKUP_AUTOMOUNT flag to tag those lookups
that _should_ trigger an automount on the last path element.
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
[ Edited to leave out the cases that are already covered by LOOKUP_OPEN,
LOOKUP_DIRECTORY and LOOKUP_CREATE - all of which also fundamentally
force automounting for their own reasons - Linus ]
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions