]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[XFS] fix compile of xfs_btree_readahead_lblock on m68k
authorChristoph Hellwig <hch@infradead.org>
Thu, 8 Jan 2009 18:42:23 +0000 (13:42 -0500)
committerLachlan McIlroy <lachlan@redback.melbourne.sgi.com>
Fri, 9 Jan 2009 05:16:51 +0000 (16:16 +1100)
commite6edbd1c1cbef278d58cdd8b046599ba8ac90cfc
treedaa5fbe9e31d532d917979de603f9e3898291fea
parentfb82557f16f3700ae4961a4ce599bdaff6a10b1c
[XFS] fix compile of xfs_btree_readahead_lblock on m68k

Change the left/right variables to the proper always 64bit xfs_dfsbo_t
type because otherwise compilation fails for Geert on m68k without
CONFIG_LBD:

| fs/xfs/xfs_btree.c: In function 'xfs_btree_readahead_lblock':
| fs/xfs/xfs_btree.c:736: warning: comparison is always true due to limited range of data type
| fs/xfs/xfs_btree.c:741: warning: comparison is always true due to limited range of data type

Reported-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <david@fromorbit.com>
Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
fs/xfs/xfs_btree.c