diff options
Diffstat (limited to 'fs/ceph/inode.c')
-rw-r--r-- | fs/ceph/inode.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/ceph/inode.c b/fs/ceph/inode.c index 6fc10a7d7c59..8b8b506636cc 100644 --- a/fs/ceph/inode.c +++ b/fs/ceph/inode.c | |||
@@ -9,6 +9,7 @@ | |||
9 | #include <linux/namei.h> | 9 | #include <linux/namei.h> |
10 | #include <linux/writeback.h> | 10 | #include <linux/writeback.h> |
11 | #include <linux/vmalloc.h> | 11 | #include <linux/vmalloc.h> |
12 | #include <linux/posix_acl.h> | ||
12 | 13 | ||
13 | #include "super.h" | 14 | #include "super.h" |
14 | #include "mds_client.h" | 15 | #include "mds_client.h" |
@@ -1805,7 +1806,7 @@ int ceph_setattr(struct dentry *dentry, struct iattr *attr) | |||
1805 | __mark_inode_dirty(inode, inode_dirty_flags); | 1806 | __mark_inode_dirty(inode, inode_dirty_flags); |
1806 | 1807 | ||
1807 | if (ia_valid & ATTR_MODE) { | 1808 | if (ia_valid & ATTR_MODE) { |
1808 | err = ceph_acl_chmod(dentry, inode); | 1809 | err = posix_acl_chmod(inode, attr->ia_mode); |
1809 | if (err) | 1810 | if (err) |
1810 | goto out_put; | 1811 | goto out_put; |
1811 | } | 1812 | } |