xfs: remove the mappedbno argument to xfs_da_reada_buf
Replace the mappedbno argument with the simple flags for xfs_da_reada_buf and xfs_dir3_data_readahead. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
This commit is contained in:

committed by
Darrick J. Wong

parent
199e9ba4e4
commit
06566fda42
@@ -314,7 +314,8 @@ xfs_dir2_leaf_readbuf(
|
||||
break;
|
||||
}
|
||||
if (next_ra > *ra_blk) {
|
||||
xfs_dir3_data_readahead(dp, next_ra, -2);
|
||||
xfs_dir3_data_readahead(dp, next_ra,
|
||||
XFS_DABUF_MAP_HOLE_OK);
|
||||
*ra_blk = next_ra;
|
||||
}
|
||||
ra_want -= geo->fsbcount;
|
||||
|
Reference in New Issue
Block a user