[PATCH 2/8] libxfs: initialize xfs_alloc_arg structures

Mark Tinguely tinguely at sgi.com
Mon Jan 28 08:21:08 CST 2013


On 01/26/13 16:40, Eric Sandeen wrote:
> This is a merge-to-userspace of kernel commit a0041684
> xfs: zero allocation_args on the kernel stack
>
> When calling xfs_alloc_vextent args.userdata was uninitialized,
> and if we had args.type==XFS_ALLOCTYPE_START_BNO, this uninit
> structure member got tested, leading to some random allocator
> behavior.
>
> Signed-off-by: Eric Sandeen<sandeen at redhat.com>
> ---

I remember seeing this in Dave's:

	[UBER-PATCH, RFC] xfsprogs: sync libxfs to 3.8-rc2 kernel code

http://patchwork.xfs.org/patch/4683/

--Mark.



More information about the xfs mailing list