]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: xfs_bmapi_read doesn't take a fork id as the last argument
authorChristoph Hellwig <hch@lst.de>
Thu, 14 May 2020 20:59:51 +0000 (13:59 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Tue, 19 May 2020 16:40:57 +0000 (09:40 -0700)
commita0a9b8a50d669f2b26159d056549b2f833275934
tree28c225877b01ac78da63239de4286ba937226d25
parent5a065bee8c9dedd5e7ab6f0962fda5b95dbea61f
xfs: xfs_bmapi_read doesn't take a fork id as the last argument

The last argument to xfs_bmapi_raad contains XFS_BMAPI_* flags, not the
fork.  Given that XFS_DATA_FORK evaluates to 0 no real harm is done,
but let's fix this anyway.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
fs/xfs/libxfs/xfs_rtbitmap.c