Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
00f81c0
)
Branch b1_8_gate
author
vitaly
<vitaly>
Mon, 15 Sep 2008 18:30:44 +0000
(18:30 +0000)
committer
vitaly
<vitaly>
Mon, 15 Sep 2008 18:30:44 +0000
(18:30 +0000)
b=15949
i=adilger
i=shadow
lustre/llite/xattr.c
patch
|
blob
|
history
diff --git
a/lustre/llite/xattr.c
b/lustre/llite/xattr.c
index
77e4ef5
..
63d2761
100644
(file)
--- a/
lustre/llite/xattr.c
+++ b/
lustre/llite/xattr.c
@@
-112,7
+112,7
@@
int xattr_type_filter(struct ll_sb_info *sbi, int xattr_type)
if (xattr_type == XATTR_USER_T && !(sbi->ll_flags & LL_SBI_USER_XATTR))
return -EOPNOTSUPP;
- if (xattr_type == XATTR_TRUSTED_T && !c
apable(
CAP_SYS_ADMIN))
+ if (xattr_type == XATTR_TRUSTED_T && !c
fs_capable(CFS_
CAP_SYS_ADMIN))
return -EPERM;
if (xattr_type == XATTR_OTHER_T)
return -EOPNOTSUPP;