Skip to content

Commit

Permalink
[XFS] factor xfs_iget_core() into hit and miss cases
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
David Chinner authored and Lachlan McIlroy committed Oct 30, 2008
1 parent 3471394 commit 6441e54
Showing 1 changed file with 191 additions and 157 deletions.
Loading

0 comments on commit 6441e54

Please sign in to comment.