projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mlx4: In RoCE allow guests to have multiple GIDS
[cascardo/linux.git]
/
fs
/
quota
/
quota.c
diff --git
a/fs/quota/quota.c
b/fs/quota/quota.c
index
dea86e8
..
2b363e2
100644
(file)
--- a/
fs/quota/quota.c
+++ b/
fs/quota/quota.c
@@
-117,6
+117,7
@@
static int quota_setinfo(struct super_block *sb, int type, void __user *addr)
static void copy_to_if_dqblk(struct if_dqblk *dst, struct fs_disk_quota *src)
{
+ memset(dst, 0, sizeof(*dst));
dst->dqb_bhardlimit = src->d_blk_hardlimit;
dst->dqb_bsoftlimit = src->d_blk_softlimit;
dst->dqb_curspace = src->d_bcount;