From: Jeff Layton <jlayton@redhat.com>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: David Howells <dhowells@redhat.com>,
miklos@szeredi.hu, raven@themaw.net, viro@zeniv.linux.org.uk,
gregkh@suse.de, linux-nfs@vger.kernel.org,
leonardo.lists@gmail.com
Subject: Re: [PATCH] NFS4: Revert commit to make the automount code ignore LOOKUP_FOLLOW
Date: Thu, 22 Sep 2011 11:26:36 -0400 [thread overview]
Message-ID: <20110922112636.05f9fc9a@barsoom.rdu.redhat.com> (raw)
In-Reply-To: <CA+55aFzoH2VxTvf3Q1Lp_GAqDNAbsSOa=ATFXYSmmM=K8Fhuew@mail.gmail.com>
On Thu, 22 Sep 2011 07:33:43 -0700
Linus Torvalds <torvalds@linux-foundation.org> wrote:
> On Thu, Sep 22, 2011 at 5:46 AM, David Howells <dhowells@redhat.com> 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@redhat.com>
prev parent reply other threads:[~2011-09-22 15:23 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-22 12:46 [PATCH] NFS4: Revert commit to make the automount code ignore LOOKUP_FOLLOW David Howells
2011-09-22 12:50 ` David Howells
2011-09-22 12:58 ` Miklos Szeredi
2011-09-22 13:41 ` David Howells
2011-09-22 14:23 ` Miklos Szeredi
2011-09-22 14:33 ` Linus Torvalds
2011-09-22 15:22 ` David Howells
2011-09-22 15:32 ` Miklos Szeredi
2011-09-22 15:33 ` Jeff Layton
2011-09-22 15:54 ` Ian Kent
2011-09-22 15:26 ` Jeff Layton [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20110922112636.05f9fc9a@barsoom.rdu.redhat.com \
--to=jlayton@redhat.com \
--cc=dhowells@redhat.com \
--cc=gregkh@suse.de \
--cc=leonardo.lists@gmail.com \
--cc=linux-nfs@vger.kernel.org \
--cc=miklos@szeredi.hu \
--cc=raven@themaw.net \
--cc=torvalds@linux-foundation.org \
--cc=viro@zeniv.linux.org.uk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox