Re: freevxfs: minor cleanups

From: Pekka J Enberg
Date: Wed Jun 29 2005 - 02:49:17 EST


On Wed, Jun 29, 2005 at 07:20:21AM +0300, Pekka Enberg wrote:
> The rationale for this is that since NULL is not guaranteed to be zero
> by the C standard, memset() doesn't really initialize pointers properly.

On Wed, 2005-06-29 at 08:08 +0100, Christoph Hellwig wrote:
For all the machines we care it does. If a maintainer refuses to acccept
that he or she is stupid.

I agree that pointer initialization is not really an issue but I do prefer the C99 struct initializers over an kcalloc(1, sizeof(*p)) call.

Is this something you don't want for freevxfs or filesystems in general? Should it be removed from NTFS as well?

Pekka -
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/