diff options
Diffstat (limited to 'fs/ext4/acl.c')
| -rw-r--r-- | fs/ext4/acl.c | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext4/acl.c b/fs/ext4/acl.c index e0270d1f8d8..21eacd7b7d7 100644 --- a/fs/ext4/acl.c +++ b/fs/ext4/acl.c @@ -433,7 +433,7 @@ ext4_xattr_set_acl(struct dentry *dentry, const char *name, const void *value,  		return -EINVAL;  	if (!test_opt(inode->i_sb, POSIX_ACL))  		return -EOPNOTSUPP; -	if (!is_owner_or_cap(inode)) +	if (!inode_owner_or_capable(inode))  		return -EPERM;  	if (value) {  |