[PATCH] xfs: don't zero structure members after a memset(0)
Ben Myers
bpm at sgi.com
Thu Jan 3 16:13:26 CST 2013
On Mon, Dec 10, 2012 at 02:56:35PM -0600, Mark Tinguely wrote:
> On 12/10/12 14:49, Eric Sandeen wrote:
> >Commit 408cc4e97a3ccd172d2d676e4b585badf439271b
> >added memset(0, ...) to allocation args structures,
> >so there is no need to explicitly set any of the fields
> >to 0 after that.
> >
> >Signed-off-by: Eric Sandeen<sandeen at redhat.com>
> >---
> >
> >Note, compile-tested only.
>
> Thank-you for cleaning up the junk I left behind.
>
> Reviewed-by: Mark Tinguely <tinguely at sgi.com>
committed to git://oss.sgi.com/xfs/xfs.git master and for-next branches.
More information about the xfs
mailing list