fs: Factor inode hash operations into functions
authorDave Chinner <dchinner@redhat.com>
Sat, 23 Oct 2010 10:58:09 +0000 (06:58 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 26 Oct 2010 01:26:10 +0000 (21:26 -0400)
commit4c51acbc66f754e536e1c9e3331656b69bce86d0
treef3b5bf0bfbadb04663d59a9dc42e7f57487d698c
parent9e38d86ff2d8a8db99570e982230861046df32b5
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>
fs/inode.c