fs: dcache per-inode inode alias locking
authorNick Piggin <npiggin@kernel.dk>
Fri, 7 Jan 2011 06:50:06 +0000 (17:50 +1100)
committerNick Piggin <npiggin@kernel.dk>
Fri, 7 Jan 2011 06:50:31 +0000 (17:50 +1100)
dcache_inode_lock can be replaced with per-inode locking. Use existing
inode->i_lock for this. This is slightly non-trivial because we sometimes
need to find the inode from the dentry, which requires d_inode to be
stabilised (either with refcount or d_lock).

Signed-off-by: Nick Piggin <npiggin@kernel.dk>

No differences found