]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: refactor realtime volume extent validation
authorDarrick J. Wong <darrick.wong@oracle.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)
commit23e306aeb2a0c36f0872a97fad877c8609903d35
tree2428da55343bbe7ae57f9ee200153d8c6a5ad587
parentf28f7e4a13aba23d9d8bb9d84c5d688c14d14694
xfs: refactor realtime volume extent validation

Source kernel commit: 18695ad4251462b33787b7e375dbda57c1969c8f

Refactor all the open-coded validation of realtime device extents into a
single helper.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
libxfs/xfs_bmap.c
libxfs/xfs_types.c
libxfs/xfs_types.h