X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Finclude%2Flustre%2Flustre_user.h;fp=lustre%2Finclude%2Flustre%2Flustre_user.h;h=529af63d66af23da0740c11faa8155466ff10574;hp=eb90190ae7d6f8e9d57ff72fceeb40180cd341f4;hb=de10075373c80cb0200726ea4f13eddcf38895fd;hpb=a7e0ce3a5780fb4530fb651ad5c8e5371cfca6db diff --git a/lustre/include/lustre/lustre_user.h b/lustre/include/lustre/lustre_user.h index eb90190..529af63 100644 --- a/lustre/include/lustre/lustre_user.h +++ b/lustre/include/lustre/lustre_user.h @@ -362,10 +362,7 @@ struct ll_futimes_3 { #define LL_IOC_GETPARENT _IOWR('f', 249, struct getparent) #define LL_IOC_LADVISE _IOR('f', 250, struct llapi_lu_ladvise) -#ifdef FS_IOC_FSGETXATTR -#define LL_IOC_FSGETXATTR FS_IOC_FSGETXATTR -#define LL_IOC_FSSETXATTR FS_IOC_FSSETXATTR -#else +#ifndef FS_IOC_FSGETXATTR /* * Structure for FS_IOC_FSGETXATTR and FS_IOC_FSSETXATTR. */ @@ -376,9 +373,11 @@ struct fsxattr { __u32 fsx_projid; /* project identifier (get/set) */ unsigned char fsx_pad[12]; }; -#define LL_IOC_FSGETXATTR _IOR('X', 31, struct fsxattr) -#define LL_IOC_FSSETXATTR _IOW('X', 32, struct fsxattr) +#define FS_IOC_FSGETXATTR _IOR('X', 31, struct fsxattr) +#define FS_IOC_FSSETXATTR _IOW('X', 32, struct fsxattr) #endif +#define LL_IOC_FSGETXATTR FS_IOC_FSGETXATTR +#define LL_IOC_FSSETXATTR FS_IOC_FSSETXATTR /* Lease types for use as arg and return of LL_IOC_{GET,SET}_LEASE ioctl. */