commit | 04303d8ad06985bed4ea4f46018fc8f55a0962a8 | [log] [tgz] |
---|---|---|
author | Yan, Zheng <zyan@redhat.com> | Thu Apr 21 12:11:54 2016 +0800 |
committer | Ilya Dryomov <idryomov@gmail.com> | Thu May 26 01:15:33 2016 +0200 |
tree | 1d0c59cb25abf8882c3d8d084f28cb04bd2125fe | |
parent | 3f38495409b613071021fca86629df7ae81820ad [diff] |
ceph: use CEPH_MDS_OP_RMXATTR request to remove xattr Setxattr with NULL value and XATTR_REPLACE flag should be equivalent to removexattr. But current MDS does not support deleting vxattrs through MDS_OP_SETXATTR request. The workaround is sending MDS_OP_RMXATTR request if setxattr actually removs xattr. Signed-off-by: Yan, Zheng <zyan@redhat.com>