Skip to content

Commit 9fefd5d

Browse files
author
Miklos Szeredi
committed
xfs: convert to fileattr
Use the fileattr API to let the VFS handle locking, permission checking and conversion. Signed-off-by: Miklos Szeredi <mszeredi@redhat.com> Cc: Darrick J. Wong <djwong@kernel.org>
1 parent 1f26b06 commit 9fefd5d

6 files changed

Lines changed: 80 additions & 204 deletions

File tree

fs/xfs/libxfs/xfs_fs.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -770,8 +770,6 @@ struct xfs_scrub_metadata {
770770
/*
771771
* ioctl commands that are used by Linux filesystems
772772
*/
773-
#define XFS_IOC_GETXFLAGS FS_IOC_GETFLAGS
774-
#define XFS_IOC_SETXFLAGS FS_IOC_SETFLAGS
775773
#define XFS_IOC_GETVERSION FS_IOC_GETVERSION
776774

777775
/*
@@ -782,8 +780,6 @@ struct xfs_scrub_metadata {
782780
#define XFS_IOC_ALLOCSP _IOW ('X', 10, struct xfs_flock64)
783781
#define XFS_IOC_FREESP _IOW ('X', 11, struct xfs_flock64)
784782
#define XFS_IOC_DIOINFO _IOR ('X', 30, struct dioattr)
785-
#define XFS_IOC_FSGETXATTR FS_IOC_FSGETXATTR
786-
#define XFS_IOC_FSSETXATTR FS_IOC_FSSETXATTR
787783
#define XFS_IOC_ALLOCSP64 _IOW ('X', 36, struct xfs_flock64)
788784
#define XFS_IOC_FREESP64 _IOW ('X', 37, struct xfs_flock64)
789785
#define XFS_IOC_GETBMAP _IOWR('X', 38, struct getbmap)

0 commit comments

Comments
 (0)