commit | fbc0b970ddfab4b35dad27ebaae712af680bdc7e | [log] [tgz] |
---|---|---|
author | Yan, Zheng <zheng.z.yan@intel.com> | Tue Feb 11 13:01:19 2014 +0800 |
committer | Sage Weil <sage@inktank.com> | Mon Feb 17 12:37:05 2014 -0800 |
tree | 2120c4d11018e7090fc76158453f11d7a0939d3f | |
parent | 0ec1d15ec6ed513ab2cc86c67d94761d71228a32 [diff] |
ceph: properly handle XATTR_CREATE and XATTR_REPLACE return -EEXIST if XATTR_CREATE is set and xattr alread exists. return -ENODATA if XATTR_REPLACE is set but xattr does not exist. Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>