diff options
| author | Tony Luck <tony.luck@intel.com> | 2005-06-29 18:21:41 -0400 |
|---|---|---|
| committer | Tony Luck <tony.luck@intel.com> | 2005-06-29 18:21:41 -0400 |
| commit | d18bfacff20f08aecf01bb971b110ca108eef3c7 (patch) | |
| tree | 255f862839c593c796e609328575b611e3f56cf3 /fs/nfs/nfs3acl.c | |
| parent | a68db763af9b676590c3fe9ec3f17bf18015eb2f (diff) | |
| parent | fd782a4a99d2d3e818b9465c427b10f7f027d7da (diff) | |
Auto merge with /home/aegl/GIT/linus
Diffstat (limited to 'fs/nfs/nfs3acl.c')
| -rw-r--r-- | fs/nfs/nfs3acl.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/fs/nfs/nfs3acl.c b/fs/nfs/nfs3acl.c index ee3536fc84a3..1b7a3ef2f813 100644 --- a/fs/nfs/nfs3acl.c +++ b/fs/nfs/nfs3acl.c | |||
| @@ -2,7 +2,7 @@ | |||
| 2 | #include <linux/nfs.h> | 2 | #include <linux/nfs.h> |
| 3 | #include <linux/nfs3.h> | 3 | #include <linux/nfs3.h> |
| 4 | #include <linux/nfs_fs.h> | 4 | #include <linux/nfs_fs.h> |
| 5 | #include <linux/xattr_acl.h> | 5 | #include <linux/posix_acl_xattr.h> |
| 6 | #include <linux/nfsacl.h> | 6 | #include <linux/nfsacl.h> |
| 7 | 7 | ||
| 8 | #define NFSDBG_FACILITY NFSDBG_PROC | 8 | #define NFSDBG_FACILITY NFSDBG_PROC |
| @@ -53,9 +53,9 @@ ssize_t nfs3_getxattr(struct dentry *dentry, const char *name, | |||
| 53 | struct posix_acl *acl; | 53 | struct posix_acl *acl; |
| 54 | int type, error = 0; | 54 | int type, error = 0; |
| 55 | 55 | ||
| 56 | if (strcmp(name, XATTR_NAME_ACL_ACCESS) == 0) | 56 | if (strcmp(name, POSIX_ACL_XATTR_ACCESS) == 0) |
| 57 | type = ACL_TYPE_ACCESS; | 57 | type = ACL_TYPE_ACCESS; |
| 58 | else if (strcmp(name, XATTR_NAME_ACL_DEFAULT) == 0) | 58 | else if (strcmp(name, POSIX_ACL_XATTR_DEFAULT) == 0) |
| 59 | type = ACL_TYPE_DEFAULT; | 59 | type = ACL_TYPE_DEFAULT; |
| 60 | else | 60 | else |
| 61 | return -EOPNOTSUPP; | 61 | return -EOPNOTSUPP; |
| @@ -82,9 +82,9 @@ int nfs3_setxattr(struct dentry *dentry, const char *name, | |||
| 82 | struct posix_acl *acl; | 82 | struct posix_acl *acl; |
| 83 | int type, error; | 83 | int type, error; |
| 84 | 84 | ||
| 85 | if (strcmp(name, XATTR_NAME_ACL_ACCESS) == 0) | 85 | if (strcmp(name, POSIX_ACL_XATTR_ACCESS) == 0) |
| 86 | type = ACL_TYPE_ACCESS; | 86 | type = ACL_TYPE_ACCESS; |
| 87 | else if (strcmp(name, XATTR_NAME_ACL_DEFAULT) == 0) | 87 | else if (strcmp(name, POSIX_ACL_XATTR_DEFAULT) == 0) |
| 88 | type = ACL_TYPE_DEFAULT; | 88 | type = ACL_TYPE_DEFAULT; |
| 89 | else | 89 | else |
| 90 | return -EOPNOTSUPP; | 90 | return -EOPNOTSUPP; |
| @@ -103,9 +103,9 @@ int nfs3_removexattr(struct dentry *dentry, const char *name) | |||
| 103 | struct inode *inode = dentry->d_inode; | 103 | struct inode *inode = dentry->d_inode; |
| 104 | int type; | 104 | int type; |
| 105 | 105 | ||
| 106 | if (strcmp(name, XATTR_NAME_ACL_ACCESS) == 0) | 106 | if (strcmp(name, POSIX_ACL_XATTR_ACCESS) == 0) |
| 107 | type = ACL_TYPE_ACCESS; | 107 | type = ACL_TYPE_ACCESS; |
| 108 | else if (strcmp(name, XATTR_NAME_ACL_DEFAULT) == 0) | 108 | else if (strcmp(name, POSIX_ACL_XATTR_DEFAULT) == 0) |
| 109 | type = ACL_TYPE_DEFAULT; | 109 | type = ACL_TYPE_DEFAULT; |
| 110 | else | 110 | else |
| 111 | return -EOPNOTSUPP; | 111 | return -EOPNOTSUPP; |
