]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: move transaction handling to xfs_bmapi_convert_delalloc
authorChristoph Hellwig <hch@lst.de>
Mon, 6 May 2019 22:00:28 +0000 (18:00 -0400)
committerEric Sandeen <sandeen@redhat.com>
Mon, 6 May 2019 22:00:28 +0000 (18:00 -0400)
commitc784c9d257ecbfbbfe630dbc21d44421f495f38e
treec77c74aca0f7c078e75e9aadbd84639f18fde470
parent330a35fe5d945a9860f01e207a4eb613d7b7c958
xfs: move transaction handling to xfs_bmapi_convert_delalloc

Source kernel commit: 491ce61e939f76399e344b0414dc5a4c08c1f0cf

No need to deal with the transaction and the inode locking in the
caller. Note that we also switch to passing whichfork as the second
paramter, matching what most related functions do.

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>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
libxfs/xfs_bmap.c
libxfs/xfs_bmap.h