diff --git a/fs/ceph/xattr.c b/fs/ceph/xattr.c index 231c02b16c0c7ac3d3c24e225a408875b1cf98d2..a55ec37378c6730efa476d3d6a923e37ba10ec72 100644 --- a/fs/ceph/xattr.c +++ b/fs/ceph/xattr.c @@ -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);