Commit 99ecb131 authored by Frederik Deweerdt's avatar Frederik Deweerdt Committed by james toy

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: default avatarFrederik Deweerdt <frederik.deweerdt@gmail.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
parent 4a429d45
...@@ -1113,7 +1113,7 @@ __getblk_slow(struct block_device *bdev, sector_t block, int size) ...@@ -1113,7 +1113,7 @@ __getblk_slow(struct block_device *bdev, sector_t block, int size)
#if (BITS_PER_LONG == 32) && defined(CONFIG_LBD) #if (BITS_PER_LONG == 32) && defined(CONFIG_LBD)
if ((block >> (PAGE_CACHE_SHIFT - bdev->bd_inode->i_blkbits)) & if ((block >> (PAGE_CACHE_SHIFT - bdev->bd_inode->i_blkbits)) &
0xffffffff00000000UL) { 0xffffffff00000000ULL) {
/* /*
* We'll fail because the block is outside the range * We'll fail because the block is outside the range
* which a 32-bit pagecache index can address * which a 32-bit pagecache index can address
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment