diff options
author | Yan, Zheng <zheng.z.yan@intel.com> | 2014-02-11 13:23:09 +0800 |
---|---|---|
committer | Sage Weil <sage@inktank.com> | 2014-02-17 12:37:10 -0800 |
commit | 524186ace6c4dcc83975b858622a66888b018fd0 (patch) | |
tree | bb9e42117541424ea3fe0634797422c9f9063668 /fs | |
parent | bcdfeb2eb4e42b811950b9cd226109291051732a (diff) | |
download | linux-stable-524186ace6c4dcc83975b858622a66888b018fd0.tar.gz linux-stable-524186ace6c4dcc83975b858622a66888b018fd0.tar.bz2 linux-stable-524186ace6c4dcc83975b858622a66888b018fd0.zip |
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); |