]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit53b6f22105025ee3aeebe9cc94a1d1632d72fc78
treef3b5bf0bfbadb04663d59a9dc42e7f57487d698c
parentb924029cae85bfbb857f40eb5f9dff83bd1cf660
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