]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitda5b191680b0036bc7db3413ef3a509cbb062c07
treefabd651e35f3fbc60d4ca9ca7fbdad0a04596d43
parent0dfdd4ddb4c2b9ddbdfb1b062f29299f7b0aaeee
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