On Wed, Jul 23, 2014 at 04:47:18PM -0700, JP Abgrall wrote: > diff --git a/include/uapi/linux/fs.h b/include/uapi/linux/fs.h > index ca1a11b..a1816ca 100644 > --- a/include/uapi/linux/fs.h > +++ b/include/uapi/linux/fs.h > @@ -156,6 +156,7 @@ struct inodes_stat_t { > #define FIFREEZE _IOWR('X', 119, int) /* Freeze */ > #define FITHAW _IOWR('X', 120, int) /* Thaw */ > #define FITRIM _IOWR('X', 121, struct fstrim_range) /* Trim */ > +#define FIDTRIM _IOWR('X', 122, struct fstrim_range) /* Deep discard trim */ The 'X' ioctl namespace is actually XFS's ioctl namespace. FIDTRIM should be in the 'f' namespace - FIFREEZE and FITHAW were inherited from XFS, which is where that came from originally, and it got propagated to FITRIM and it wasn't caught on review. I only noticed that now: #define XFS_IOC_FSSETDM_BY_HANDLE _IOW ('X', 121, struct xfs_fsop_setdm_handlereq) #define XFS_IOC_ATTRLIST_BY_HANDLE _IOW ('X', 122, struct xfs_fsop_attrlist_handlereq) Cheers, Dave. -- Dave Chinner david@xxxxxxxxxxxxx -- To unsubscribe from this list: send the line "unsubscribe linux-ext4" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html