diff options
author | Dave Chinner <dchinner@redhat.com> | 2012-11-12 15:54:18 +0400 |
---|---|---|
committer | Ben Myers <bpm@sgi.com> | 2012-11-16 07:34:57 +0400 |
commit | da6958c873ecd846d71fafbfe0f6168bb9c2c99e (patch) | |
tree | 638e8ec75ef0592dd896f74e2b2215af3021bf0a /fs/xfs/xfs_da_btree.c | |
parent | d9392a4bb75503fc2adbb5237c3df940c6467eb2 (diff) | |
download | linux-da6958c873ecd846d71fafbfe0f6168bb9c2c99e.tar.xz |
xfs: Add verifiers to dir2 data readahead.
Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Phil White <pwhite@sgi.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_da_btree.c')
-rw-r--r-- | fs/xfs/xfs_da_btree.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/xfs/xfs_da_btree.c b/fs/xfs/xfs_da_btree.c index 1b84fc50a053..93ebc0fc6dd9 100644 --- a/fs/xfs/xfs_da_btree.c +++ b/fs/xfs/xfs_da_btree.c @@ -2285,10 +2285,10 @@ xfs_da_reada_buf( struct xfs_trans *trans, struct xfs_inode *dp, xfs_dablk_t bno, + xfs_daddr_t mappedbno, int whichfork, xfs_buf_iodone_t verifier) { - xfs_daddr_t mappedbno = -1; struct xfs_buf_map map; struct xfs_buf_map *mapp; int nmap; @@ -2296,7 +2296,7 @@ xfs_da_reada_buf( mapp = ↦ nmap = 1; - error = xfs_dabuf_map(trans, dp, bno, -1, whichfork, + error = xfs_dabuf_map(trans, dp, bno, mappedbno, whichfork, &mapp, &nmap); if (error) { /* mapping a hole is not an error, but we don't continue */ |