diff options
author | Mark Tinguely <tinguely@sgi.com> | 2012-09-20 13:16:45 -0500 |
---|---|---|
committer | Ben Myers <bpm@sgi.com> | 2012-11-08 11:08:10 -0600 |
commit | 408cc4e97a3ccd172d2d676e4b585badf439271b (patch) | |
tree | 0ccc0a1f8c9873ea07a0fce00fa408322e8c1302 /fs/xfs/xfs_ialloc.c | |
parent | 7e9620f21d8c9e389fd6845487e07d5df898a2e4 (diff) |
xfs: zero allocation_args on the kernel stack
Zero the kernel stack space that makes up the xfs_alloc_arg structures.
Signed-off-by: Mark Tinguely <tinguely@sgi.com>
Reviewed-by: Ben Myers <bpm@sgi.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_ialloc.c')
-rw-r--r-- | fs/xfs/xfs_ialloc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/xfs/xfs_ialloc.c b/fs/xfs/xfs_ialloc.c index 445bf1aef31c..c5c4ef4f2bdb 100644 --- a/fs/xfs/xfs_ialloc.c +++ b/fs/xfs/xfs_ialloc.c @@ -250,6 +250,7 @@ xfs_ialloc_ag_alloc( /* boundary */ struct xfs_perag *pag; + memset(&args, 0, sizeof(args)); args.tp = tp; args.mp = tp->t_mountp; |