android_kernel_xiaomi_sdm845/fs/autofs4
Ian Kent 2d753e62b8 [PATCH] autofs4: can't mount due to mount point dir not empty
Addresse a problem where stale dentrys stop mounts from happening.

When a mount point directory is pre-created and a non-existent entry within it
is requested a dentry ends up being created within the mount point directory
which stops future mounts.  The problem is solved by ignoring negative,
unhashed dentrys in the mount point d_subdirs list.

Additionally the apparent cacheing of -ENOENT returns from requests is
removed.  The test on d_time is a tautology and d_time is not initialised and
has an unexpected value.  In short it doesn't do what it's meant to.

The cacheing of failed requests to the daemon is important and will be
followed up later.

Signed-off-by: Ian Kent <raven@themaw.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-03-27 08:44:39 -08:00
..
autofs_i.h [PATCH] autofs4: can't mount due to mount point dir not empty 2006-03-27 08:44:39 -08:00
expire.c [PATCH] shrink dentry struct 2006-01-08 20:13:58 -08:00
init.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
inode.c [PATCH] sem2mutex: autofs4 wq_sem 2006-03-23 07:38:13 -08:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
root.c [PATCH] autofs4: can't mount due to mount point dir not empty 2006-03-27 08:44:39 -08:00
symlink.c [PATCH] Fix up symlink function pointers 2005-08-19 18:08:21 -07:00
waitq.c [PATCH] sem2mutex: autofs4 wq_sem 2006-03-23 07:38:13 -08:00