diff options
author | Christoph Hellwig <hch@infradead.org> | 2013-12-20 05:16:44 -0800 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2014-01-25 23:58:19 -0500 |
commit | 64e178a7118b1cf7648391755e44dcc209091003 (patch) | |
tree | f06ee5408a04ee86c7a79dfd885aaab3c5f3f070 /fs/ext2/inode.c | |
parent | 996a710d46418cacb5b4a519ab9341a74066551d (diff) | |
download | op-kernel-dev-64e178a7118b1cf7648391755e44dcc209091003.zip op-kernel-dev-64e178a7118b1cf7648391755e44dcc209091003.tar.gz |
ext2/3/4: use generic posix ACL infrastructure
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/ext2/inode.c')
-rw-r--r-- | fs/ext2/inode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext2/inode.c b/fs/ext2/inode.c index 8a33764..94ed3684 100644 --- a/fs/ext2/inode.c +++ b/fs/ext2/inode.c @@ -1566,7 +1566,7 @@ int ext2_setattr(struct dentry *dentry, struct iattr *iattr) } setattr_copy(inode, iattr); if (iattr->ia_valid & ATTR_MODE) - error = ext2_acl_chmod(inode); + error = posix_acl_chmod(inode, inode->i_mode); mark_inode_dirty(inode); return error; |