commit | be70489eff41a84f26b1d772b595cc043e0edeb6 | [log] [tgz] |
---|---|---|
author | Yan, Zheng <zyan@redhat.com> | Thu Nov 23 18:22:06 2017 +0800 |
committer | Ilya Dryomov <idryomov@gmail.com> | Mon Jan 29 18:36:05 2018 +0100 |
tree | 51c503db606a2c427138b6a8431d559b38a32ae4 | |
parent | d19a0b540182a742338d88f6501e4f29a30d7541 [diff] |
ceph: properly drop caps for setattr request For CEPH_SETATTR_ATIME, MDS needs to xlock filelock, Fsxrw caps are not allowed for xlocked filelock. For CEPH_SETATTR_SIZE request that truncates file to smaller size, MDS needs to xlock filelock, Fsxrw caps are not allowed for xlocked filelock. Signed-off-by: "Yan, Zheng" <zyan@redhat.com> Signed-off-by: Ilya Dryomov <idryomov@gmail.com>