diff options
author | Yan, Zheng <zheng.z.yan@intel.com> | 2014-02-11 13:01:19 +0800 |
---|---|---|
committer | Sage Weil <sage@inktank.com> | 2014-02-17 12:37:05 -0800 |
commit | fbc0b970ddfab4b35dad27ebaae712af680bdc7e (patch) | |
tree | 2120c4d11018e7090fc76158453f11d7a0939d3f /fs/xattr.c | |
parent | 0ec1d15ec6ed513ab2cc86c67d94761d71228a32 (diff) | |
download | op-kernel-dev-fbc0b970ddfab4b35dad27ebaae712af680bdc7e.zip op-kernel-dev-fbc0b970ddfab4b35dad27ebaae712af680bdc7e.tar.gz |
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>
Diffstat (limited to 'fs/xattr.c')
0 files changed, 0 insertions, 0 deletions