[PATCH] VFS: Fix an error in unused dentry counting
authorDavid Howells <dhowells@redhat.com>
Sat, 28 Oct 2006 17:38:46 +0000 (10:38 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sat, 28 Oct 2006 18:30:53 +0000 (11:30 -0700)
commitf87135762de4328c6f17897e803e6909bc056feb
treebf182df7b7ca8326c7ed3590693ac1e276b24a14
parent6eac3f93f5e6b7256fb20b7608d62ec192da12be
[PATCH] VFS: Fix an error in unused dentry counting

With Vasily Averin <vvs@sw.ru>

Fix an error in unused dentry counting in shrink_dcache_for_umount_subtree()
in which the count is modified without the dcache_lock held.

Signed-off-by: David Howells <dhowells@redhat.com>
Cc: Vasily Averin <vvs@sw.ru>
Cc: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/dcache.c