diff options
author | Christoph Hellwig <[email protected]> | 2008-10-30 16:54:43 +1100 |
---|---|---|
committer | Lachlan McIlroy <[email protected]> | 2008-10-30 16:54:43 +1100 |
commit | b524bfeee2152fa64b6210f28ced80489b9d2439 (patch) | |
tree | 226355f2fc34b50975c9c756a211446901dbecbe /fs/jbd/commit.c | |
parent | e99ab90d6a9e8ac92f05d2c31d44aa7feee15394 (diff) |
[XFS] refactor xfs_btree_readahead
From: Dave Chinner <[email protected]>
Refactor xfs_btree_readahead to make it more readable:
(a) remove the inline xfs_btree_readahead wrapper and move all checks out
of line into the main routine.
(b) factor out helpers for short/long form btrees
(c) move check for root in inodes from the callers into
xfs_btree_readahead
[hch: split out from a big patch and minor cleanups]
SGI-PV: 985583
SGI-Modid: xfs-linux-melb:xfs-kern:32182a
Signed-off-by: Christoph Hellwig <[email protected]>
Signed-off-by: Lachlan McIlroy <[email protected]>
Signed-off-by: Bill O'Donnell <[email protected]>
Signed-off-by: David Chinner <[email protected]>
Diffstat (limited to 'fs/jbd/commit.c')
0 files changed, 0 insertions, 0 deletions