From: Trond Myklebust Date: Tue, 27 Sep 2011 00:36:09 +0000 (-0400) Subject: VFS: Fix the remaining automounter semantics regressions X-Git-Tag: v3.1-rc8~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=815d405ceff0d6964683f033e18b9b23a88fba87;p=pandora-kernel.git 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 [ 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 --- Reading git-diff-tree failed