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)
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

diff --cc fs/inode.c
Simple merge