From: Miklos Szeredi Date: Wed, 30 Jun 2021 22:38:57 +0000 (-0400) Subject: xfs: convert to fileattr X-Git-Tag: v5.13.0-rc0~20 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9214e36102fc748a264ed25ecb4a1eff981cb25c;p=thirdparty%2Fxfsprogs-dev.git xfs: convert to fileattr Source kernel commit: 9fefd5db08ce01abffffcdca3dc0964d9cb6ee69 Use the fileattr API to let the VFS handle locking, permission checking and conversion. Signed-off-by: Miklos Szeredi Cc: Darrick J. Wong Signed-off-by: Eric Sandeen --- diff --git a/libxfs/xfs_fs.h b/libxfs/xfs_fs.h index bde2b4c64..a83bdd0c4 100644 --- a/libxfs/xfs_fs.h +++ b/libxfs/xfs_fs.h @@ -770,8 +770,6 @@ struct xfs_scrub_metadata { /* * ioctl commands that are used by Linux filesystems */ -#define XFS_IOC_GETXFLAGS FS_IOC_GETFLAGS -#define XFS_IOC_SETXFLAGS FS_IOC_SETFLAGS #define XFS_IOC_GETVERSION FS_IOC_GETVERSION /* @@ -782,8 +780,6 @@ struct xfs_scrub_metadata { #define XFS_IOC_ALLOCSP _IOW ('X', 10, struct xfs_flock64) #define XFS_IOC_FREESP _IOW ('X', 11, struct xfs_flock64) #define XFS_IOC_DIOINFO _IOR ('X', 30, struct dioattr) -#define XFS_IOC_FSGETXATTR FS_IOC_FSGETXATTR -#define XFS_IOC_FSSETXATTR FS_IOC_FSSETXATTR #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)