Home
last modified time | relevance | path

Searched refs:xattr_type (Results 1 – 1 of 1) sorted by relevance

/linux-4.1.27/drivers/staging/lustre/lustre/llite/
Dxattr.c89 int xattr_type_filter(struct ll_sb_info *sbi, int xattr_type) in xattr_type_filter() argument
91 if ((xattr_type == XATTR_ACL_ACCESS_T || in xattr_type_filter()
92 xattr_type == XATTR_ACL_DEFAULT_T) && in xattr_type_filter()
96 if (xattr_type == XATTR_USER_T && !(sbi->ll_flags & LL_SBI_USER_XATTR)) in xattr_type_filter()
98 if (xattr_type == XATTR_TRUSTED_T && !capable(CFS_CAP_SYS_ADMIN)) in xattr_type_filter()
100 if (xattr_type == XATTR_OTHER_T) in xattr_type_filter()
113 int xattr_type, rc; in ll_setxattr_common() local
122 xattr_type = get_xattr_type(name); in ll_setxattr_common()
123 rc = xattr_type_filter(sbi, xattr_type); in ll_setxattr_common()
127 if ((xattr_type == XATTR_ACL_ACCESS_T || in ll_setxattr_common()
[all …]