diff options
author | Ilya Dryomov <ilya.dryomov@inktank.com> | 2014-07-25 09:47:21 +0200 |
---|---|---|
committer | Ilya Dryomov <ilya.dryomov@inktank.com> | 2014-07-28 11:29:27 +0200 |
commit | 7e8a295295775ec9e05411cefc578ff4bfc94740 (patch) | |
tree | 31588fb5cac9da001a74d86b44e298d5e2d0d78f /fs/ceph/xattr.c | |
parent | ceph: remove redundant memset(0) (diff) | |
download | linux-7e8a295295775ec9e05411cefc578ff4bfc94740.tar.xz 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/xattr.c')
-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: 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) |