[PATCH 14/16] xfs: rename XFS_IOC_FSGEOM to XFS_IOC_FSGEOM_V2
Dave Chinner
david at fromorbit.com
Mon Oct 6 15:33:00 CDT 2014
On Fri, Oct 03, 2014 at 05:04:35PM -0500, Ben Myers wrote:
> From: Ben Myers <bpm at sgi.com>
>
> We'll be creating a new versioned XFS_IOC_FSGEOMETRY ioctl and structure
> so rename the current revision to _V2.
Urk, no.
This will result in older applications picking up the new ioctl when
they are rebuilt without having explicit support for the new ioctl.
Just create a new ioctl with a new name and modify applications to
use it. If the kernel does not support the new ioctl, then fall back
to the old one in userspace.
-Dave.
--
Dave Chinner
david at fromorbit.com
More information about the xfs
mailing list