projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'for-4.8/core' of git://git.kernel.dk/linux-block
[linux-2.6-block.git]
/
fs
/
gfs2
/
quota.c
diff --git
a/fs/gfs2/quota.c
b/fs/gfs2/quota.c
index 62a68234dfff05a009e5d91d810b103973f67f5e..77930ca25303d9c1e040de629ff10bf449574420 100644
(file)
--- a/
fs/gfs2/quota.c
+++ b/
fs/gfs2/quota.c
@@
-883,7
+883,7
@@
static int do_sync(unsigned int num_qd, struct gfs2_quota_data **qda)
gfs2_write_calc_reserv(ip, sizeof(struct gfs2_quota),
&data_blocks, &ind_blocks);
- ghs = k
calloc(num_qd,
sizeof(struct gfs2_holder), GFP_NOFS);
+ ghs = k
malloc(num_qd *
sizeof(struct gfs2_holder), GFP_NOFS);
if (!ghs)
return -ENOMEM;