commit | 873feea09ebc980cbd3631b767356ce1eee65ec1 | [log] [tgz] |
---|---|---|
author | Nick Piggin <npiggin@kernel.dk> | Fri Jan 07 17:50:06 2011 +1100 |
committer | Nick Piggin <npiggin@kernel.dk> | Fri Jan 07 17:50:31 2011 +1100 |
tree | 59a8fce9b138086abee7cf845f62ff70a390cf81 | |
parent | ceb5bdc2d246f6d81cf61ed70f325308a11821d2 [diff] |
fs: dcache per-inode inode alias locking 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>