From: Ian Kent <raven@themaw.net>
To: Nick Piggin <npiggin@suse.de>
Cc: linux-fsdevel@vger.kernel.org, autofs@linux.kernel.org
Subject: Re: [rfc][patch] fs: dcache remove d_mounted
Date: Fri, 09 Oct 2009 16:07:24 +0800 [thread overview]
Message-ID: <4ACEEF3C.4030005@themaw.net> (raw)
In-Reply-To: <20091009074211.GD2983@wotan.suse.de>
Nick Piggin wrote:
> I guess you could have a flag in the vfsmount which you could then set
> to have lookup_mnt (and hence follow_mount etc) ignore it.
>
> Unsetting / decrementing d_mounted I guess works, but I would just
> be worried if other mounts can be attached to the dentry then you
> might ignore that other mount or even follow your autofs mount.i
The other thing worth mentioning is that these mounts are entirely
managed by the user space daemon, no-one else can mount within the
autofs fs (well almost), unless a privileged user space process
deliberately uses ioctls to change that.
Ian
prev parent reply other threads:[~2009-10-09 8:07 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-09 2:56 [rfc][patch] fs: dcache remove d_mounted Nick Piggin
2009-10-09 5:47 ` Ian Kent
2009-10-09 5:47 ` Ian Kent
2009-10-09 7:42 ` Nick Piggin
2009-10-09 8:00 ` Ian Kent
2009-10-09 8:07 ` Nick Piggin
2009-10-09 8:14 ` Ian Kent
2009-10-09 8:33 ` Nick Piggin
2009-10-09 8:56 ` Ian Kent
2009-10-09 9:59 ` Nick Piggin
2009-10-09 11:53 ` Ian Kent
2009-10-09 8:07 ` Ian Kent [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=4ACEEF3C.4030005@themaw.net \
--to=raven@themaw.net \
--cc=autofs@linux.kernel.org \
--cc=linux-fsdevel@vger.kernel.org \
--cc=npiggin@suse.de \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.