hfs: fix warning with 64k PAGE_SIZE
authorAndrew Morton <akpm@linux-foundation.org>
Wed, 30 Apr 2008 07:54:53 +0000 (00:54 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 30 Apr 2008 15:29:52 +0000 (08:29 -0700)
commit3e5a5097303eedb4ffae2719843eb064221b1db4
tree3b1de7bb20e5f344b4c96a8c5a4830823c1b7b5d
parentf735295b14ae073a8302d7b1da894bc597724557
hfs: fix warning with 64k PAGE_SIZE

fs/hfs/btree.c: In function 'hfs_bmap_alloc':
fs/hfs/btree.c:263: warning: comparison is always false due to limited range of data type

The patch makes the warning go away, but the code might actually be buggy?

Cc: Roman Zippel <zippel@linux-m68k.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/hfs/btree.c