]> git.karo-electronics.de Git - mv-sheeva.git/commit
fs: use RCU read side protection in d_validate
authorChristoph Hellwig <hch@infradead.org>
Sun, 10 Oct 2010 09:36:27 +0000 (05:36 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 26 Oct 2010 01:26:13 +0000 (21:26 -0400)
commit3825bdb7ed920845961f32f364454bee5f469abb
tree935f4d42ff568efd595700889a1839a604aa8cec
parenta4633357ac610cd2f8740e28a31fc148a7960421
fs: use RCU read side protection in d_validate

d_validate does a purely read lookup in the dentry hash, so use RCU read side
locking instead of dcache_lock.  Split out from a larget patch by
Nick Piggin <npiggin@suse.de>.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/dcache.c