diff options
author | Ilya Dryomov <ilya.dryomov@inktank.com> | 2014-07-25 03:47:21 -0400 |
---|---|---|
committer | Ilya Dryomov <ilya.dryomov@inktank.com> | 2014-07-28 05:29:27 -0400 |
commit | 7e8a295295775ec9e05411cefc578ff4bfc94740 (patch) | |
tree | 31588fb5cac9da001a74d86b44e298d5e2d0d78f /fs/ceph | |
parent | 1a295bd8c854de221813d0ba0848031a8985b869 (diff) |
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.c | 2 |
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: | |||
592 | xattr_version = ci->i_xattrs.version; | 592 | xattr_version = ci->i_xattrs.version; |
593 | spin_unlock(&ci->i_ceph_lock); | 593 | spin_unlock(&ci->i_ceph_lock); |
594 | 594 | ||
595 | xattrs = kcalloc(numattr, sizeof(struct ceph_xattr *), | 595 | xattrs = kcalloc(numattr, sizeof(struct ceph_inode_xattr *), |
596 | GFP_NOFS); | 596 | GFP_NOFS); |
597 | err = -ENOMEM; | 597 | err = -ENOMEM; |
598 | if (!xattrs) | 598 | if (!xattrs) |