diff options
author | Guangliang Zhao <lucienchao@gmail.com> | 2013-11-11 15:18:03 +0800 |
---|---|---|
committer | Ilya Dryomov <ilya.dryomov@inktank.com> | 2013-12-31 20:32:01 +0200 |
commit | 7221fe4c2ed72804b28633c8e0217d65abb0023f (patch) | |
tree | 70b02b121258635837f2db4b339a5fdcc014392a /fs/ceph/caps.c | |
parent | 61f68816211ee4b884dc0dda8dd4d977548f4865 (diff) | |
download | linux-rpi3-7221fe4c2ed72804b28633c8e0217d65abb0023f.tar.gz linux-rpi3-7221fe4c2ed72804b28633c8e0217d65abb0023f.tar.bz2 linux-rpi3-7221fe4c2ed72804b28633c8e0217d65abb0023f.zip |
ceph: add acl for cephfs
Signed-off-by: Guangliang Zhao <lucienchao@gmail.com>
Reviewed-by: Li Wang <li.wang@ubuntykylin.com>
Reviewed-by: Zheng Yan <zheng.z.yan@intel.com>
Diffstat (limited to 'fs/ceph/caps.c')
-rw-r--r-- | fs/ceph/caps.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/ceph/caps.c b/fs/ceph/caps.c index 3c0a4bd74996..9289c6b2f1bb 100644 --- a/fs/ceph/caps.c +++ b/fs/ceph/caps.c @@ -2464,6 +2464,7 @@ static void handle_cap_grant(struct inode *inode, struct ceph_mds_caps *grant, ceph_buffer_put(ci->i_xattrs.blob); ci->i_xattrs.blob = ceph_buffer_get(xattr_buf); ci->i_xattrs.version = version; + ceph_forget_all_cached_acls(inode); } } |