xfs
[Top] [All Lists]

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

To: Eric Sandeen <sandeen@xxxxxxxxxx>
Subject: Re: [PATCH] xfs: don't zero structure members after a memset(0)
From: Mark Tinguely <tinguely@xxxxxxx>
Date: Mon, 10 Dec 2012 14:56:35 -0600
Cc: xfs-oss <xfs@xxxxxxxxxxx>
In-reply-to: <50C64ACB.2090704@xxxxxxxxxx>
References: <50C64ACB.2090704@xxxxxxxxxx>
User-agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:9.0) Gecko/20120122 Thunderbird/9.0
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>

<Prev in Thread] Current Thread [Next in Thread>