Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
LU-10092 llite: Add persistent cache on client
[fs/lustre-release.git]
/
lustre
/
llite
/
xattr26.c
diff --git
a/lustre/llite/xattr26.c
b/lustre/llite/xattr26.c
index
152eb7f
..
d0cd4a1
100644
(file)
--- a/
lustre/llite/xattr26.c
+++ b/
lustre/llite/xattr26.c
@@
-124,11
+124,7
@@
int ll_setxattr_common(struct inode *inode, const char *name,
if ((xattr_type == XATTR_ACL_ACCESS_T ||
xattr_type == XATTR_ACL_DEFAULT_T) &&
if ((xattr_type == XATTR_ACL_ACCESS_T ||
xattr_type == XATTR_ACL_DEFAULT_T) &&
-#ifdef HAVE_INODE_OWNER_OR_CAPABLE
!inode_owner_or_capable(inode))
!inode_owner_or_capable(inode))
-#else
- !is_owner_or_cap(inode))
-#endif
return -EPERM;
/* b10667: ignore lustre special xattr for now */
return -EPERM;
/* b10667: ignore lustre special xattr for now */