new ext4 build warnings

From: Jeff Garzik
Date: Wed Jul 18 2007 - 17:37:56 EST


It seems jbd_debug() might need modification:

fs/ext4/inode.c: In function ‘ext4_write_inode’:
fs/ext4/inode.c:2906: warning: comparison is always true due to limited range of data type

fs/jbd2/recovery.c: In function ‘jbd2_journal_recover’:
fs/jbd2/recovery.c:254: warning: comparison is always true due to limited range of data type
fs/jbd2/recovery.c:257: warning: comparison is always true due to limited range of data type

fs/jbd2/recovery.c: In function ‘jbd2_journal_skip_recovery’:
fs/jbd2/recovery.c:301: warning: comparison is always true due to limited range of data type

I'm surprised this was not noticed in a test build before pushing upstream.

Jeff


-
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/