Commit 524186ac authored by Yan, Zheng's avatar Yan, Zheng Committed by Sage Weil

ceph: fix ceph_removexattr()

Signed-off-by: default avatarYan, Zheng <zheng.z.yan@intel.com>
parent bcdfeb2e
...@@ -463,7 +463,7 @@ static int __remove_xattr(struct ceph_inode_info *ci, ...@@ -463,7 +463,7 @@ static int __remove_xattr(struct ceph_inode_info *ci,
struct ceph_inode_xattr *xattr) struct ceph_inode_xattr *xattr)
{ {
if (!xattr) if (!xattr)
return -EOPNOTSUPP; return -ENODATA;
rb_erase(&xattr->node, &ci->i_xattrs.index); rb_erase(&xattr->node, &ci->i_xattrs.index);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment