diff options
author | Yan, Zheng <zheng.z.yan@intel.com> | 2014-02-11 05:55:05 +0100 |
---|---|---|
committer | Sage Weil <sage@inktank.com> | 2014-02-17 21:37:11 +0100 |
commit | b20a95a0dd47c56c5d20e1c9e260293d0b87abe0 (patch) | |
tree | ac7220792872efb768b087334f09d28439628d87 /fs/ceph/file.c | |
parent | ceph: fix ceph_set_acl() (diff) | |
download | linux-b20a95a0dd47c56c5d20e1c9e260293d0b87abe0.tar.xz linux-b20a95a0dd47c56c5d20e1c9e260293d0b87abe0.zip |
ceph: add missing init_acl() for mkdir() and atomic_open()
Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>
Diffstat (limited to '')
-rw-r--r-- | fs/ceph/file.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/ceph/file.c b/fs/ceph/file.c index dfd2ce3419f8..09c7afe32e49 100644 --- a/fs/ceph/file.c +++ b/fs/ceph/file.c @@ -286,6 +286,7 @@ int ceph_atomic_open(struct inode *dir, struct dentry *dentry, } else { dout("atomic_open finish_open on dn %p\n", dn); if (req->r_op == CEPH_MDS_OP_CREATE && req->r_reply_info.has_create_ino) { + ceph_init_acl(dentry, dentry->d_inode, dir); *opened |= FILE_CREATED; } err = finish_open(file, dentry, ceph_open, opened); |