mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-13 23:24:05 +08:00
Withdraw the ioctl definition for the FSSETDM ioctl.
-----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEUzaAxoMeQq6m2jMV+H93GTRKtOsFAmHlpbEACgkQ+H93GTRK tOs8MBAAjOyUswNqVMYgMB6eww7oT8j54jGdTmo+d+N2hIoX4OAV6GdCI6te/7DE yz6TtzbQ9fs9lDYsdRsMjfwr18R8N1m0D23cpFSJ6qq6e2NJi0mqVwmC8mPRNAJH 68yL0p6O4Tk5jj7kae+zsv50nsSANXclfoHjsZQ0DGOuGagmPkNVqT82KIC4n3dn aw66xhuaiLLJE+4boLe4NexRVBbyOuHQ2uB7xUnKwc9tHvjAf8EFCIhUV1wp0qZf CfA2wg8+Jzwrqz/gVRKUZOjz7LeIY6E2qCBrA+DATv2dcv7QhmvGHaQ9OkrvIE72 CbvI92IhvOcKFzpfMrRYGhOh7KE6SkxLGqsAXgnjPoFQkCDudgCaExBO96RMMd6u cX43mXWZbUl++Sh2GhPD/xkiskLRZFjiHJbKBX/5nwjU2BzTHQY/7Jy07fIkR4c4 IrkKgiXfSJT4j/KeAMkBpZ7THMjRMSUgwliSWHL0QWUz5Bou8WRnHUl8CMsu9vDJ fYeekXDQYuAX+UrcsDlbA0UukigOLSIZiQTAEgSbIkd/+Zb6U6e0IF7pTTZJ9uFs bndLFYqZtEAySDrMCBM+W8VYmR48EDxfN8xsdS1kbZIqEdNhmkEMj9tMf0rs+FRi lo1vMi08O7VcuyiyNrKs0e1d1Gkd2jwmwIskSQweslP5BbfPzRE= =d+fT -----END PGP SIGNATURE----- Merge tag 'xfs-5.17-merge-4' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux Pull xfs ioctl housecleaning from Darrick Wong: "This is the first of a series of small pull requests that perform some long overdue housecleaning of XFS ioctls. This first pull request removes the FSSETDM ioctl, which was used to set DMAPI event attributes on XFS files. The DMAPI support has never been merged upstream and the implementation of FSSETDM itself was removed two years ago, so let's withdraw it completely. - Withdraw the ioctl definition for the FSSETDM ioctl" * tag 'xfs-5.17-merge-4' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux: xfs: remove the XFS_IOC_FSSETDM definitions
This commit is contained in:
commit
12a8fb20f1
@ -92,21 +92,6 @@ struct getbmapx {
|
||||
#define XFS_FMR_OWN_COW FMR_OWNER('X', 7) /* cow staging */
|
||||
#define XFS_FMR_OWN_DEFECTIVE FMR_OWNER('X', 8) /* bad blocks */
|
||||
|
||||
/*
|
||||
* Structure for XFS_IOC_FSSETDM.
|
||||
* For use by backup and restore programs to set the XFS on-disk inode
|
||||
* fields di_dmevmask and di_dmstate. These must be set to exactly and
|
||||
* only values previously obtained via xfs_bulkstat! (Specifically the
|
||||
* struct xfs_bstat fields bs_dmevmask and bs_dmstate.)
|
||||
*/
|
||||
#ifndef HAVE_FSDMIDATA
|
||||
struct fsdmidata {
|
||||
__u32 fsd_dmevmask; /* corresponds to di_dmevmask */
|
||||
__u16 fsd_padding;
|
||||
__u16 fsd_dmstate; /* corresponds to di_dmstate */
|
||||
};
|
||||
#endif
|
||||
|
||||
/*
|
||||
* File segment locking set data type for 64 bit access.
|
||||
* Also used for all the RESV/FREE interfaces.
|
||||
@ -562,16 +547,10 @@ typedef struct xfs_fsop_handlereq {
|
||||
|
||||
/*
|
||||
* Compound structures for passing args through Handle Request interfaces
|
||||
* xfs_fssetdm_by_handle, xfs_attrlist_by_handle, xfs_attrmulti_by_handle
|
||||
* - ioctls: XFS_IOC_FSSETDM_BY_HANDLE, XFS_IOC_ATTRLIST_BY_HANDLE, and
|
||||
* XFS_IOC_ATTRMULTI_BY_HANDLE
|
||||
* xfs_attrlist_by_handle, xfs_attrmulti_by_handle
|
||||
* - ioctls: XFS_IOC_ATTRLIST_BY_HANDLE, and XFS_IOC_ATTRMULTI_BY_HANDLE
|
||||
*/
|
||||
|
||||
typedef struct xfs_fsop_setdm_handlereq {
|
||||
struct xfs_fsop_handlereq hreq; /* handle information */
|
||||
struct fsdmidata __user *data; /* DMAPI data */
|
||||
} xfs_fsop_setdm_handlereq_t;
|
||||
|
||||
/*
|
||||
* Flags passed in xfs_attr_multiop.am_flags for the attr ioctl interface.
|
||||
*
|
||||
@ -789,7 +768,7 @@ struct xfs_scrub_metadata {
|
||||
#define XFS_IOC_ALLOCSP64 _IOW ('X', 36, struct xfs_flock64)
|
||||
#define XFS_IOC_FREESP64 _IOW ('X', 37, struct xfs_flock64)
|
||||
#define XFS_IOC_GETBMAP _IOWR('X', 38, struct getbmap)
|
||||
#define XFS_IOC_FSSETDM _IOW ('X', 39, struct fsdmidata)
|
||||
/* XFS_IOC_FSSETDM ------- deprecated 39 */
|
||||
#define XFS_IOC_RESVSP _IOW ('X', 40, struct xfs_flock64)
|
||||
#define XFS_IOC_UNRESVSP _IOW ('X', 41, struct xfs_flock64)
|
||||
#define XFS_IOC_RESVSP64 _IOW ('X', 42, struct xfs_flock64)
|
||||
@ -831,7 +810,7 @@ struct xfs_scrub_metadata {
|
||||
#define XFS_IOC_FREEZE _IOWR('X', 119, int) /* aka FIFREEZE */
|
||||
#define XFS_IOC_THAW _IOWR('X', 120, int) /* aka FITHAW */
|
||||
|
||||
#define XFS_IOC_FSSETDM_BY_HANDLE _IOW ('X', 121, struct xfs_fsop_setdm_handlereq)
|
||||
/* XFS_IOC_FSSETDM_BY_HANDLE -- deprecated 121 */
|
||||
#define XFS_IOC_ATTRLIST_BY_HANDLE _IOW ('X', 122, struct xfs_fsop_attrlist_handlereq)
|
||||
#define XFS_IOC_ATTRMULTI_BY_HANDLE _IOW ('X', 123, struct xfs_fsop_attrmulti_handlereq)
|
||||
#define XFS_IOC_FSGEOMETRY_V4 _IOR ('X', 124, struct xfs_fsop_geom_v4)
|
||||
|
Loading…
Reference in New Issue
Block a user