From: Ilya Dryomov Date: Fri, 25 Jul 2014 07:47:21 +0000 (+0400) Subject: ceph: fix sizeof(struct tYpO *) typo X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=7e8a295295775ec9e05411cefc578ff4bfc94740;p=linux.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 f89698cdbc413..12f58d22e0179 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)