]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: move xfs_dialloc_roll() into xfs_dialloc()
authorDave Chinner <dchinner@redhat.com>
Thu, 7 Jan 2021 20:59:17 +0000 (15:59 -0500)
committerEric Sandeen <sandeen@sandeen.net>
Thu, 7 Jan 2021 20:59:17 +0000 (15:59 -0500)
commitf7e5a7ae69bc3feaecb7402d92639d4788ec8f10
tree8756170f5ce97cb86e9f96a17acfbbf163e62c25
parentf0d5b500a9f99b0d112b73365be11cd94bb1c0e2
xfs: move xfs_dialloc_roll() into xfs_dialloc()

Source kernel commit: f3bf6e0f1196c69a7b0412521596cd1cc7622a82

Get rid of the confusing ialloc_context and failure handling around
xfs_dialloc() by moving xfs_dialloc_roll() into xfs_dialloc().

Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Gao Xiang <hsiangkao@redhat.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
libxfs/util.c
libxfs/xfs_ialloc.c
libxfs/xfs_ialloc.h