Re: [PATCH] autofs4 - detect invalid direct mount requests

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Jeff Moyer <jmoyer@...>
Cc: Andrew Morton <akpm@...>, Kernel Mailing List <linux-kernel@...>, autofs mailing list <autofs@...>, linux-fsdevel <linux-fsdevel@...>
Date: Friday, June 20, 2008 - 9:12 am

On Fri, 2008-06-20 at 09:00 -0400, Jeff Moyer wrote:

v5 doesn't need to get those dir/otherdir messages that we can't avoid
for v4.

Basically, attempts to access a non-existent directory in multi-mount
tree leads to a negative dentry being sent to the wait queue, but v5
direct and offset mounts must always have an existing (non-negative
dentry) directory upon which to mount. This is only relevant for
multi-mounts that don't have an explicit multi-mount root so that the
lookups occur within the autofs file system.

Sorry, I still can't think of a way to avoid this for v4.

Ian


--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] autofs4 - detect invalid direct mount requests, Ian Kent, (Fri Jun 20, 9:12 am)