ceph: fix ceph_removexattr()
Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>
This commit is contained in:
parent
bcdfeb2eb4
commit
524186ace6
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue