]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: introduce xfs_dialloc_roll()
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)
commit9543cb30362e14c6c0a4b57f816e970ee9003eae
treefc822e3839cc95a558798ed852275748021a37a0
parent6e8b0988898cee3ff7ed6537b0fb45f45246930e
xfs: introduce xfs_dialloc_roll()

Source kernel commit: aececc9f8dec92a25c84a3378021636ce58d72dc

Introduce a helper to make the on-disk inode allocation rolling
logic clearer in preparation of the following cleanup.

[sandeen: update xfsprogs struct xfs_trans to match]

Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
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>
include/xfs_trans.h
libxfs/util.c
libxfs/xfs_ialloc.c
libxfs/xfs_ialloc.h