diff options
author | Mark Tinguely <tinguely@sgi.com> | 2012-09-20 14:16:45 -0400 |
---|---|---|
committer | Ben Myers <bpm@sgi.com> | 2012-10-18 18:34:16 -0400 |
commit | a00416844b8f4b0106344bdfd90fe45a854b1d05 (patch) | |
tree | 3bfc6d51dc7d4a118d1f67bdb6df1acd5e7741ed /fs/xfs/xfs_ialloc.c | |
parent | d35e88faa3b0fc2cea35c3b2dca358b5cd09b45f (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( | |||
250 | /* boundary */ | 250 | /* boundary */ |
251 | struct xfs_perag *pag; | 251 | struct xfs_perag *pag; |
252 | 252 | ||
253 | memset(&args, 0, sizeof(args)); | ||
253 | args.tp = tp; | 254 | args.tp = tp; |
254 | args.mp = tp->t_mountp; | 255 | args.mp = tp->t_mountp; |
255 | 256 | ||