xfs: remove the XFS_IOC_FSSETDM definitions

Remove the definitions for these ioctls, since the functionality (and,
weirdly, the 32-bit compat ioctl definitions) were removed from the
kernel in November 2019.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Dave Chinner <dchinner@redhat.com>

+4 -25
+4 -25
fs/xfs/libxfs/xfs_fs.h
··· 93 #define XFS_FMR_OWN_DEFECTIVE FMR_OWNER('X', 8) /* bad blocks */ 94 95 /* 96 - * Structure for XFS_IOC_FSSETDM. 97 - * For use by backup and restore programs to set the XFS on-disk inode 98 - * fields di_dmevmask and di_dmstate. These must be set to exactly and 99 - * only values previously obtained via xfs_bulkstat! (Specifically the 100 - * struct xfs_bstat fields bs_dmevmask and bs_dmstate.) 101 - */ 102 - #ifndef HAVE_FSDMIDATA 103 - struct fsdmidata { 104 - __u32 fsd_dmevmask; /* corresponds to di_dmevmask */ 105 - __u16 fsd_padding; 106 - __u16 fsd_dmstate; /* corresponds to di_dmstate */ 107 - }; 108 - #endif 109 - 110 - /* 111 * File segment locking set data type for 64 bit access. 112 * Also used for all the RESV/FREE interfaces. 113 */ ··· 547 548 /* 549 * Compound structures for passing args through Handle Request interfaces 550 - * xfs_fssetdm_by_handle, xfs_attrlist_by_handle, xfs_attrmulti_by_handle 551 - * - ioctls: XFS_IOC_FSSETDM_BY_HANDLE, XFS_IOC_ATTRLIST_BY_HANDLE, and 552 - * XFS_IOC_ATTRMULTI_BY_HANDLE 553 */ 554 - 555 - typedef struct xfs_fsop_setdm_handlereq { 556 - struct xfs_fsop_handlereq hreq; /* handle information */ 557 - struct fsdmidata __user *data; /* DMAPI data */ 558 - } xfs_fsop_setdm_handlereq_t; 559 560 /* 561 * Flags passed in xfs_attr_multiop.am_flags for the attr ioctl interface. ··· 768 #define XFS_IOC_ALLOCSP64 _IOW ('X', 36, struct xfs_flock64) 769 #define XFS_IOC_FREESP64 _IOW ('X', 37, struct xfs_flock64) 770 #define XFS_IOC_GETBMAP _IOWR('X', 38, struct getbmap) 771 - #define XFS_IOC_FSSETDM _IOW ('X', 39, struct fsdmidata) 772 #define XFS_IOC_RESVSP _IOW ('X', 40, struct xfs_flock64) 773 #define XFS_IOC_UNRESVSP _IOW ('X', 41, struct xfs_flock64) 774 #define XFS_IOC_RESVSP64 _IOW ('X', 42, struct xfs_flock64) ··· 810 #define XFS_IOC_FREEZE _IOWR('X', 119, int) /* aka FIFREEZE */ 811 #define XFS_IOC_THAW _IOWR('X', 120, int) /* aka FITHAW */ 812 813 - #define XFS_IOC_FSSETDM_BY_HANDLE _IOW ('X', 121, struct xfs_fsop_setdm_handlereq) 814 #define XFS_IOC_ATTRLIST_BY_HANDLE _IOW ('X', 122, struct xfs_fsop_attrlist_handlereq) 815 #define XFS_IOC_ATTRMULTI_BY_HANDLE _IOW ('X', 123, struct xfs_fsop_attrmulti_handlereq) 816 #define XFS_IOC_FSGEOMETRY_V4 _IOR ('X', 124, struct xfs_fsop_geom_v4)
··· 93 #define XFS_FMR_OWN_DEFECTIVE FMR_OWNER('X', 8) /* bad blocks */ 94 95 /* 96 * File segment locking set data type for 64 bit access. 97 * Also used for all the RESV/FREE interfaces. 98 */ ··· 562 563 /* 564 * Compound structures for passing args through Handle Request interfaces 565 + * xfs_attrlist_by_handle, xfs_attrmulti_by_handle 566 + * - ioctls: XFS_IOC_ATTRLIST_BY_HANDLE, and XFS_IOC_ATTRMULTI_BY_HANDLE 567 */ 568 569 /* 570 * Flags passed in xfs_attr_multiop.am_flags for the attr ioctl interface. ··· 789 #define XFS_IOC_ALLOCSP64 _IOW ('X', 36, struct xfs_flock64) 790 #define XFS_IOC_FREESP64 _IOW ('X', 37, struct xfs_flock64) 791 #define XFS_IOC_GETBMAP _IOWR('X', 38, struct getbmap) 792 + /* XFS_IOC_FSSETDM ------- deprecated 39 */ 793 #define XFS_IOC_RESVSP _IOW ('X', 40, struct xfs_flock64) 794 #define XFS_IOC_UNRESVSP _IOW ('X', 41, struct xfs_flock64) 795 #define XFS_IOC_RESVSP64 _IOW ('X', 42, struct xfs_flock64) ··· 831 #define XFS_IOC_FREEZE _IOWR('X', 119, int) /* aka FIFREEZE */ 832 #define XFS_IOC_THAW _IOWR('X', 120, int) /* aka FITHAW */ 833 834 + /* XFS_IOC_FSSETDM_BY_HANDLE -- deprecated 121 */ 835 #define XFS_IOC_ATTRLIST_BY_HANDLE _IOW ('X', 122, struct xfs_fsop_attrlist_handlereq) 836 #define XFS_IOC_ATTRMULTI_BY_HANDLE _IOW ('X', 123, struct xfs_fsop_attrmulti_handlereq) 837 #define XFS_IOC_FSGEOMETRY_V4 _IOR ('X', 124, struct xfs_fsop_geom_v4)