Skip to content
Commit fbc0b970 authored by Yan, Zheng's avatar Yan, Zheng Committed by Sage Weil
Browse files

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: default avatarYan, Zheng <zheng.z.yan@intel.com>
parent 0ec1d15e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment