From: Ilya Dryomov Date: Fri, 25 Jul 2014 07:47:21 +0000 (+0400) Subject: ceph: fix sizeof(struct tYpO *) typo X-Git-Tag: firefly_0821_release~176^2~3410^2~6 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=7e8a295295775ec9e05411cefc578ff4bfc94740;p=firefly-linux-kernel-4.4.55.git ceph: fix sizeof(struct tYpO *) typo struct ceph_xattr -> struct ceph_inode_xattr Reported-by: Toralf Förster Signed-off-by: Ilya Dryomov Reviewed-by: Alex Elder --- diff --git a/fs/ceph/xattr.c b/fs/ceph/xattr.c index f89698cdbc41..12f58d22e017 100644 --- a/fs/ceph/xattr.c +++ b/fs/ceph/xattr.c @@ -592,7 +592,7 @@ start: xattr_version = ci->i_xattrs.version; spin_unlock(&ci->i_ceph_lock); - xattrs = kcalloc(numattr, sizeof(struct ceph_xattr *), + xattrs = kcalloc(numattr, sizeof(struct ceph_inode_xattr *), GFP_NOFS); err = -ENOMEM; if (!xattrs)