xfs: bump XFS_IOC_FSGEOMETRY to v5 structures
authorDave Chinner <dchinner@redhat.com>
Fri, 12 Apr 2019 14:41:16 +0000 (07:41 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Mon, 15 Apr 2019 01:15:57 +0000 (18:15 -0700)
commit1b6d968de22bffd85a60538d2628185b17228291
treedf40a9976b7ae8f60f203ca32bb2eeead97a2c17
parent519841c207de9926418d2f39e162097088478781
xfs: bump XFS_IOC_FSGEOMETRY to v5 structures

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>
fs/xfs/libxfs/xfs_fs.h
fs/xfs/libxfs/xfs_sb.c
fs/xfs/xfs_ioctl.c
fs/xfs/xfs_ioctl32.c