On Thu, 22 Sep 2011 07:33:43 -0700 Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx> wrote: > On Thu, Sep 22, 2011 at 5:46 AM, David Howells <dhowells@xxxxxxxxxx> wrote: > > > > (4) Add a new flag, say LOOKUP_GETTING_ATTRS, to indicate that we're doing a > > stat() or a getxattr() and suppress automounting on that basis. > > I'd prefer this one. Except I'd just call it LOOKUP_STAT to make it > less cumbersome. > > And then just have lstat/stat/xattr set that bit, and make it clear > that that bit means "no automount". > Maybe LOOKUP_NO_AUTOMOUNT would be better in that case? -- Jeff Layton <jlayton@xxxxxxxxxx> -- To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html