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
@@ -1104,7 +1104,7 @@ xfs_dir_open(
|
||||
*/
|
||||
mode = xfs_ilock_data_map_shared(ip);
|
||||
if (ip->i_d.di_nextents > 0)
|
||||
error = xfs_dir3_data_readahead(ip, 0, -1);
|
||||
error = xfs_dir3_data_readahead(ip, 0, 0);
|
||||
xfs_iunlock(ip, mode);
|
||||
return error;
|
||||
}
|
||||
|
Reference in New Issue
Block a user