From 7eb013130e8ef7c1705f96aeb4afd65206f9ac35 Mon Sep 17 00:00:00 2001 From: Frederik Deweerdt Date: Thu, 17 Sep 2009 22:55:20 +0200 Subject: [PATCH] On Tue, Nov 06, 2007 at 02:33:53AM -0800, akpm@linux-foundation.org wrote: > The mm snapshot broken-out-2007-11-06-02-32.tar.gz has been uploaded to > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/mm/broken-out-2007-11-06-02-32.tar.gz > > It contains the following patches against 2.6.24-rc1: > [...] > getblk-handle-2tb-devices.patch [...] 0xffffffff00000000 is unsigned long long on 32 bits fs/buffer.c: In function '__getblk_slow': fs/buffer.c:1126: warning: integer constant is too large for 'unsigned long' type Signed-off-by: Frederik Deweerdt Signed-off-by: Andrew Morton --- fs/buffer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/buffer.c b/fs/buffer.c index 80566c8f46d..4f326f83c0e 100644 --- a/fs/buffer.c +++ b/fs/buffer.c @@ -1113,7 +1113,7 @@ __getblk_slow(struct block_device *bdev, sector_t block, int size) #if (BITS_PER_LONG == 32) && defined(CONFIG_LBD) if ((block >> (PAGE_CACHE_SHIFT - bdev->bd_inode->i_blkbits)) & - 0xffffffff00000000UL) { + 0xffffffff00000000ULL) { /* * We'll fail because the block is outside the range * which a 32-bit pagecache index can address -- 2.11.4.GIT