fs: simplify iget & friends
authorChristoph Hellwig <hch@infradead.org>
Wed, 23 Mar 2011 19:03:28 +0000 (15:03 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Fri, 25 Mar 2011 01:17:52 +0000 (21:17 -0400)
commit0b2d0724e26a335cd326eb7ad552c109116a8795
treefabd651e35f3fbc60d4ca9ca7fbdad0a04596d43
parent0f1b1fd86f6fd662e04da3e82a6780b226fcd0d1
fs: simplify iget & friends

Merge get_new_inode/get_new_inode_fast into iget5_locked/iget_locked
as those were the only callers.  Remove the internal ifind/ifind_fast
helpers - ifind_fast only had a single caller, and ifind had two
callers wanting it to do different things.  Also clean up the comments
in this area to focus on information important to a developer trying
to use it, instead of overloading them with implementation details.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/inode.c