]> www.infradead.org Git - users/hch/xfsprogs.git/commit
xfs: xfs_bmapi_read doesn't take a fork id as the last argument
authorChristoph Hellwig <hch@lst.de>
Thu, 9 Jul 2020 18:44:58 +0000 (20:44 +0200)
committerChristoph Hellwig <hch@lst.de>
Fri, 10 Jul 2020 06:40:17 +0000 (08:40 +0200)
commit242824562242a00961f7b8fd16b45c27ca36587f
tree3189f15810bc0306ccf7e3bfa995961dbf2f8f96
parent1e142ca5b43432edb6b1fa022b3dfc3d55c35269
xfs: xfs_bmapi_read doesn't take a fork id as the last argument

Source kernel commit: b90c2a9c8b4422bb9398b50fe3d6163e46dcddec

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>
Signed-off-by: Christoph Hellwig <hch@lst.de>
libxfs/xfs_rtbitmap.c