]> bbs.cooldavid.org Git - net-next-2.6.git/commit
xfs: fix a few compiler warnings with CONFIG_XFS_QUOTA=n
authorChristoph Hellwig <hch@infradead.org>
Sat, 6 Nov 2010 11:42:56 +0000 (11:42 +0000)
committerAlex Elder <aelder@sgi.com>
Wed, 10 Nov 2010 18:00:48 +0000 (12:00 -0600)
commit5d2bf8a55e03b0e59ed5a4ac2ff7f9ee3ba7e40d
treefc46c4d8f0504fd64504a30e4590267d1bfed9fe
parent785ce41805ea7b6a9b2775ed9f4cf10cd7a90c03
xfs: fix a few compiler warnings with CONFIG_XFS_QUOTA=n

Andi Kleen reported that gcc-4.5 gives lots of warnings for him
inside the XFS code.  It turned out most of them are due to the
quota stubs beeing macros, and gcc now complaining about macros
evaluating to 0 that are not assigned to variables.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Alex Elder <aelder@sgi.com>
fs/xfs/xfs_quota.h