xfs
[Top] [All Lists]

Re: [PATCH] xfs: don't zero structure members after a memset(0)

To: Mark Tinguely <tinguely@xxxxxxx>
Subject: Re: [PATCH] xfs: don't zero structure members after a memset(0)
From: Ben Myers <bpm@xxxxxxx>
Date: Thu, 3 Jan 2013 16:13:26 -0600
Cc: Eric Sandeen <sandeen@xxxxxxxxxx>, xfs-oss <xfs@xxxxxxxxxxx>
In-reply-to: <50C64C83.4050906@xxxxxxx>
References: <50C64ACB.2090704@xxxxxxxxxx> <50C64C83.4050906@xxxxxxx>
User-agent: Mutt/1.5.20 (2009-06-14)
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@xxxxxxxxxx>
> >---
> >
> >Note, compile-tested only.
> 
> Thank-you for cleaning up the junk I left behind.
> 
> Reviewed-by: Mark Tinguely <tinguely@xxxxxxx>

committed to git://oss.sgi.com/xfs/xfs.git master and for-next branches.

<Prev in Thread] Current Thread [Next in Thread>
  • Re: [PATCH] xfs: don't zero structure members after a memset(0), Ben Myers <=