Skip to content
Snippets Groups Projects
Commit 524186ac authored by Yan, Zheng's avatar Yan, Zheng Committed by Sage Weil
Browse files

ceph: fix ceph_removexattr()


Signed-off-by: default avatarYan, Zheng <zheng.z.yan@intel.com>
parent bcdfeb2e
No related branches found
No related tags found
No related merge requests found
......@@ -463,7 +463,7 @@ static int __remove_xattr(struct ceph_inode_info *ci,
struct ceph_inode_xattr *xattr)
{
if (!xattr)
return -EOPNOTSUPP;
return -ENODATA;
rb_erase(&xattr->node, &ci->i_xattrs.index);
......
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