Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

ceph: fix ceph_removexattr()

parent bcdfeb2e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);