diff options
author | Yan, Zheng <zheng.z.yan@intel.com> | 2014-02-11 00:23:09 -0500 |
---|---|---|
committer | Sage Weil <sage@inktank.com> | 2014-02-17 15:37:10 -0500 |
commit | 524186ace6c4dcc83975b858622a66888b018fd0 (patch) | |
tree | bb9e42117541424ea3fe0634797422c9f9063668 | |
parent | bcdfeb2eb4e42b811950b9cd226109291051732a (diff) |
ceph: fix ceph_removexattr()
Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>
-rw-r--r-- | fs/ceph/xattr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ceph/xattr.c b/fs/ceph/xattr.c index 231c02b16c0c..a55ec37378c6 100644 --- a/fs/ceph/xattr.c +++ b/fs/ceph/xattr.c | |||
@@ -463,7 +463,7 @@ static int __remove_xattr(struct ceph_inode_info *ci, | |||
463 | struct ceph_inode_xattr *xattr) | 463 | struct ceph_inode_xattr *xattr) |
464 | { | 464 | { |
465 | if (!xattr) | 465 | if (!xattr) |
466 | return -EOPNOTSUPP; | 466 | return -ENODATA; |
467 | 467 | ||
468 | rb_erase(&xattr->node, &ci->i_xattrs.index); | 468 | rb_erase(&xattr->node, &ci->i_xattrs.index); |
469 | 469 | ||