commit | 4c51acbc66f754e536e1c9e3331656b69bce86d0 | [log] [tgz] |
---|---|---|
author | Dave Chinner <dchinner@redhat.com> | Sat Oct 23 06:58:09 2010 -0400 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Mon Oct 25 21:26:10 2010 -0400 |
tree | f3b5bf0bfbadb04663d59a9dc42e7f57487d698c | |
parent | 9e38d86ff2d8a8db99570e982230861046df32b5 [diff] |
fs: Factor inode hash operations into functions Before replacing the inode hash locking with a more scalable mechanism, factor the removal of the inode from the hashes rather than open coding it in several places. Based on a patch originally from Nick Piggin. Signed-off-by: Dave Chinner <dchinner@redhat.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>