Skip to content

Commit

Permalink
ceph: fix ceph_removexattr()
Browse files Browse the repository at this point in the history
Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>
  • Loading branch information
Yan, Zheng authored and Sage Weil committed Feb 17, 2014
1 parent bcdfeb2 commit 524186a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/ceph/xattr.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 524186a

Please sign in to comment.