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". Linus -- 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