diff options
author | Yan, Zheng <zheng.z.yan@intel.com> | 2014-02-11 09:23:09 +0400 |
---|---|---|
committer | Sage Weil <sage@inktank.com> | 2014-02-18 00:37:10 +0400 |
commit | 524186ace6c4dcc83975b858622a66888b018fd0 (patch) | |
tree | bb9e42117541424ea3fe0634797422c9f9063668 /fs | |
parent | bcdfeb2eb4e42b811950b9cd226109291051732a (diff) | |
download | linux-524186ace6c4dcc83975b858622a66888b018fd0.tar.xz |
ceph: fix ceph_removexattr()
Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>
Diffstat (limited to 'fs')
-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, struct ceph_inode_xattr *xattr) { if (!xattr) - return -EOPNOTSUPP; + return -ENODATA; rb_erase(&xattr->node, &ci->i_xattrs.index); |