OSDN Git Service

[XFS] Fix sparse NULL vs 0 warnings
authorChristoph Hellwig <hch@infradead.org>
Thu, 16 Aug 2007 05:37:36 +0000 (15:37 +1000)
committerTim Shimmin <tes@chook.melbourne.sgi.com>
Wed, 5 Sep 2007 04:47:33 +0000 (14:47 +1000)
commit4b80916b29170744632356dd2e801f7c374676eb
tree9714752ddfffd543dcd512a7f1920d53d92c1054
parent8da22d7a3690818f6d340baa0ea585e71f0c506f
[XFS] Fix sparse NULL vs 0 warnings

Sparse now warns about comparing pointers to 0, so change all instance
where that happens to NULL instead.

SGI-PV: 968555
SGI-Modid: xfs-linux-melb:xfs-kern:29308a

Signed-off-by: Christoph Hellwig <hch@infradead.org>
Signed-off-by: David Chinner <dgc@sgi.com>
Signed-off-by: Tim Shimmin <tes@sgi.com>
fs/xfs/xfs_log.c
fs/xfs/xfs_log_recover.c