projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a295bd
)
ceph: fix sizeof(struct tYpO *) typo
author
Ilya Dryomov
<ilya.dryomov@inktank.com>
Fri, 25 Jul 2014 07:47:21 +0000
(11:47 +0400)
committer
Ilya Dryomov
<ilya.dryomov@inktank.com>
Mon, 28 Jul 2014 09:29:27 +0000
(13:29 +0400)
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>
fs/ceph/xattr.c
patch
|
blob
|
history
diff --git
a/fs/ceph/xattr.c
b/fs/ceph/xattr.c
index f89698cdbc413c65eda1cca5cbd07cf410eed20a..12f58d22e01798844d17d9b526cf19d1ba112a36 100644
(file)
--- 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)