OpenCloudOS-Kernel/fs/autofs
David Howells 0e7d73824e [PATCH] autofs3: Make sure all dentries refs are released before calling kill_anon_super()
Make sure all dentries refs are released before calling kill_anon_super()
so that the assumption that generic_shutdown_super() can completely destroy
the dentry tree for there will be no external references holds true.

What was being done in the put_super() superblock op, is now done in the
kill_sb() filesystem op instead, prior to calling kill_anon_super().

The call to shrink_dcache_sb() is removed as it is redundant since
shrink_dcache_for_umount() will now be called after the cleanup routine.

Signed-off-by: David Howells <dhowells@redhat.com>
Acked-by: Ian Kent <raven@themaw.net>
Cc: Andi Kleen <ak@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-10-20 10:26:38 -07:00
..
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
autofs_i.h [PATCH] autofs3: Make sure all dentries refs are released before calling kill_anon_super() 2006-10-20 10:26:38 -07:00
dirhash.c [PATCH] autofs3: Make sure all dentries refs are released before calling kill_anon_super() 2006-10-20 10:26:38 -07:00
init.c [PATCH] autofs3: Make sure all dentries refs are released before calling kill_anon_super() 2006-10-20 10:26:38 -07:00
inode.c [PATCH] autofs3: Make sure all dentries refs are released before calling kill_anon_super() 2006-10-20 10:26:38 -07:00
root.c [PATCH] r/o bind mount prepwork: inc_nlink() helper 2006-10-01 00:39:30 -07:00
symlink.c [PATCH] inode_diet: Replace inode.u.generic_ip with inode.i_private 2006-09-27 08:26:17 -07:00
waitq.c [PATCH] kfree cleanup: fs 2005-11-07 07:54:06 -08:00