From: Yan, Zheng Date: Tue, 11 Feb 2014 05:23:09 +0000 (+0800) Subject: ceph: fix ceph_removexattr() X-Git-Tag: firefly_0821_release~176^2~4398^2~5 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=524186ace6c4dcc83975b858622a66888b018fd0;p=firefly-linux-kernel-4.4.55.git ceph: fix ceph_removexattr() Signed-off-by: Yan, Zheng --- 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);