提交 524186ac 编写于 作者: Y Yan, Zheng 提交者: Sage Weil

ceph: fix ceph_removexattr()

Signed-off-by: NYan, Zheng <zheng.z.yan@intel.com>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册