projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
xfs: zero allocation_args on the kernel stack
[firefly-linux-kernel-4.4.55.git]
/
fs
/
xfs
/
xfs_alloc.c
diff --git
a/fs/xfs/xfs_alloc.c
b/fs/xfs/xfs_alloc.c
index 4f33c32affe3d2eb4bec9c5ca8d71a33bbc5032a..0287f3b1b503c65488c877421289e54d714e7626 100644
(file)
--- a/
fs/xfs/xfs_alloc.c
+++ b/
fs/xfs/xfs_alloc.c
@@
-1866,6
+1866,7
@@
xfs_alloc_fix_freelist(
/*
* Initialize the args structure.
*/
+ memset(&targs, 0, sizeof(targs));
targs.tp = tp;
targs.mp = mp;
targs.agbp = agbp;