]> www.infradead.org Git - users/hch/xfsprogs.git/commit
xfs: move xfs_bmapi_reserve_delalloc to xfs_iomap.c
authorChristoph Hellwig <hch@lst.de>
Tue, 8 Apr 2025 07:07:42 +0000 (09:07 +0200)
committerChristoph Hellwig <hch@lst.de>
Mon, 14 Apr 2025 05:25:38 +0000 (07:25 +0200)
commiteb64e9e8cbac7a31d0b35aa9c9c656df5df2af3b
tree284d29edc3410906477d27e048fd1ceefb7ae7d8
parent190916202d390a2f8494afee19372d292e3ce956
xfs: move xfs_bmapi_reserve_delalloc to xfs_iomap.c

Source kernel commit: 7c879c8275c0505c551f0fc6c152299c8d11f756

Delalloc reservations are not supported in userspace, and thus it doesn't
make sense to share this helper with xfsprogs.c.  Move it to xfs_iomap.c
toward the two callers.

Note that there rest of the delalloc handling should probably eventually
also move out of xfs_bmap.c, but that will require a bit more surgery.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: "Darrick J. Wong" <djwong@kernel.org>
Signed-off-by: Christoph Hellwig <hch@lst.de>
libxfs/xfs_bmap.c
libxfs/xfs_bmap.h