diff options
author | Christoph Hellwig <hch@lst.de> | 2019-11-20 09:46:05 -0800 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2019-11-22 08:17:10 -0800 |
commit | 2911edb653b9c64e0aad461f308cae8ce030eb7b (patch) | |
tree | 684ffd9a00e1cb2b746d1d39343cda92b3ea600d /fs/xfs/libxfs/xfs_dir2_data.c | |
parent | cd2c9f1b544b8f5e1ca1874032fd669d74946a6d (diff) | |
download | kernel_replicant_linux-2911edb653b9c64e0aad461f308cae8ce030eb7b.tar.gz kernel_replicant_linux-2911edb653b9c64e0aad461f308cae8ce030eb7b.tar.bz2 kernel_replicant_linux-2911edb653b9c64e0aad461f308cae8ce030eb7b.zip |
xfs: remove the mappedbno argument to xfs_da_get_buf
Use the xfs_da_get_buf_daddr function directly for the two callers
that pass a mapped disk address, and then remove the mappedbno argument.
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>
Diffstat (limited to 'fs/xfs/libxfs/xfs_dir2_data.c')
-rw-r--r-- | fs/xfs/libxfs/xfs_dir2_data.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/libxfs/xfs_dir2_data.c b/fs/xfs/libxfs/xfs_dir2_data.c index 34f87a12b09e..b9eba8213180 100644 --- a/fs/xfs/libxfs/xfs_dir2_data.c +++ b/fs/xfs/libxfs/xfs_dir2_data.c @@ -679,7 +679,7 @@ xfs_dir3_data_init( * Get the buffer set up for the block. */ error = xfs_da_get_buf(tp, dp, xfs_dir2_db_to_da(args->geo, blkno), - -1, &bp, XFS_DATA_FORK); + &bp, XFS_DATA_FORK); if (error) return error; bp->b_ops = &xfs_dir3_data_buf_ops; |