]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: bump XFS_IOC_FSGEOMETRY to v5 structures
authorDave Chinner <dchinner@redhat.com>
Wed, 24 Jul 2019 19:53:56 +0000 (15:53 -0400)
committerEric Sandeen <sandeen@redhat.com>
Wed, 24 Jul 2019 19:53:56 +0000 (15:53 -0400)
commit4ddaadac0ba666d124feffcaf9bf9a50aefaa6df
treef8919760e1a8d1f01f3f49580cd3dcd068c82d56
parent25b8487b49f50486c7b8e57677ce101fe6d6379d
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