]> Pileus Git - ~andy/linux/commit
[XFS] factor xfs_iget_core() into hit and miss cases
authorDavid Chinner <david@fromorbit.com>
Thu, 30 Oct 2008 06:21:19 +0000 (17:21 +1100)
committerLachlan McIlroy <lachlan@sgi.com>
Thu, 30 Oct 2008 06:21:19 +0000 (17:21 +1100)
commit6441e549157b749bae003cce70b4c8b62e4801fa
tree7cf8515b85fef59ca8dcacb5e7e73e3b71c2a518
parent3471394ba56f44761ce1c300f139478dbfb49d4a
[XFS] factor xfs_iget_core() into hit and miss cases

There are really two cases in xfs_iget_core(). The first is the cache hit
case, the second is the miss case. They share very little code, and hence
can easily be factored out into separate functions. This makes the code
much easier to understand and subsequently modify.

SGI-PV: 988141

SGI-Modid: xfs-linux-melb:xfs-kern:32317a

Signed-off-by: David Chinner <david@fromorbit.com>
Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
Signed-off-by: Christoph Hellwig <hch@infradead.org>
fs/xfs/xfs_iget.c