summaryrefslogtreecommitdiffstats
path: root/fs/ceph
diff options
context:
space:
mode:
authorIlya Dryomov <ilya.dryomov@inktank.com>2014-07-25 11:47:21 +0400
committerIlya Dryomov <ilya.dryomov@inktank.com>2014-07-28 13:29:27 +0400
commit7e8a295295775ec9e05411cefc578ff4bfc94740 (patch)
tree31588fb5cac9da001a74d86b44e298d5e2d0d78f /fs/ceph
parent1a295bd8c854de221813d0ba0848031a8985b869 (diff)
downloadlinux-7e8a295295775ec9e05411cefc578ff4bfc94740.tar.gz
linux-7e8a295295775ec9e05411cefc578ff4bfc94740.tar.bz2
linux-7e8a295295775ec9e05411cefc578ff4bfc94740.zip
ceph: fix sizeof(struct tYpO *) typo
struct ceph_xattr -> struct ceph_inode_xattr Reported-by: Toralf Förster <toralf.foerster@gmx.de> Signed-off-by: Ilya Dryomov <ilya.dryomov@inktank.com> Reviewed-by: Alex Elder <elder@linaro.org>
Diffstat (limited to 'fs/ceph')
-rw-r--r--fs/ceph/xattr.c2
1 files changed, 1 insertions, 1 deletions
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)