- 1. [PATCH] xfs: zero proper structure size for geometry calls (score: 1)
- Author: Eric Sandeen <sandeen@xxxxxxxxxxx>
- Date: Mon, 28 Feb 2011 19:37:50 -0600
- commit 493f3358cb289ccf716c5a14fa5bb52ab75943e5 added: + memset(geo, 0, sizeof(*geo)); but unfortunately we're dealing with a cast pointer here, and the caller may actually have a smaller structure o
- /archives/xfs/2011-02/msg00303.html (10,928 bytes)
- 2. Re: [PATCH] xfs: zero proper structure size for geometry calls (score: 1)
- Author: Dave Chinner <david@xxxxxxxxxxxxx>
- Date: Tue, 1 Mar 2011 13:59:44 +1100
- I'd prefer that sizeof(fsgeo) is used here. That means if the type is changed, then memset doesn't need to be. Same for all the rest of the memset calls. Otherwise, Reviewed-by: Dave Chinner <dchinne
- /archives/xfs/2011-02/msg00305.html (10,492 bytes)
- 3. Re: [PATCH] xfs: zero proper structure size for geometry calls (score: 1)
- Author: Eric Sandeen <sandeen@xxxxxxxxxxx>
- Date: Mon, 28 Feb 2011 21:01:05 -0600
- Ok, I can resend, I was going to do that but most of xfs uses the other style so wasn't sure. -Eric
- /archives/xfs/2011-02/msg00306.html (10,945 bytes)
This search system is powered by
Namazu