]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: bump XFS_IOC_FSGEOMETRY to v5 structures
authorDave Chinner <dchinner@redhat.com>
Fri, 19 Jul 2019 20:05:16 +0000 (16:05 -0400)
committerEric Sandeen <sandeen@redhat.com>
Fri, 19 Jul 2019 20:05:16 +0000 (16:05 -0400)
commit4b815086ca7d233f57fb696c0e87690e82af5c28
treef8919760e1a8d1f01f3f49580cd3dcd068c82d56
parentc59c46da3e497a5328055334d07cddf4315d14ef
xfs: bump XFS_IOC_FSGEOMETRY to v5 structures

Source kernel commit: 1b6d968de22bffd85a60538d2628185b17228291

Unfortunately, the V4 XFS_IOC_FSGEOMETRY structure is out of space so we
can't just add a new field to it. Hence we need to bump the definition
to V5 and and treat the V4 ioctl and structure similar to v1 to v3.

While doing this, clean up all the definitions associated with the
XFS_IOC_FSGEOMETRY ioctl.

Signed-Off-By: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
[darrick: forward port to 5.1, expand structure size to 256 bytes]
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
fsr/xfs_fsr.c
libxfs/xfs_fs.h
libxfs/xfs_sb.c
rtcp/xfs_rtcp.c