Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757393AbZKFLox (ORCPT ); Fri, 6 Nov 2009 06:44:53 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756927AbZKFLow (ORCPT ); Fri, 6 Nov 2009 06:44:52 -0500 Received: from earthlight.etchedpixels.co.uk ([81.2.110.250]:46103 "EHLO bob.linux.org.uk" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1756871AbZKFLow (ORCPT ); Fri, 6 Nov 2009 06:44:52 -0500 From: Alan Cox Subject: [PATCH] jfs: Fix 32bit build warning To: sfrench@usb.ibm.com, linux-kernel@vger.kernel.org Date: Fri, 06 Nov 2009 11:31:06 +0000 Message-ID: <20091106113051.14652.34331.stgit@localhost.localdomain> User-Agent: StGIT/0.14.3 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 959 Lines: 28 loff_t is a type that isn't entirely dependant upon 32 v 64bit choice Signed-off-by: Alan Cox --- fs/jfs/super.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/fs/jfs/super.c b/fs/jfs/super.c index 2234c73..d929a82 100644 --- a/fs/jfs/super.c +++ b/fs/jfs/super.c @@ -524,7 +524,7 @@ static int jfs_fill_super(struct super_block *sb, void *data, int silent) * Page cache is indexed by long. * I would use MAX_LFS_FILESIZE, but it's only half as big */ - sb->s_maxbytes = min(((u64) PAGE_CACHE_SIZE << 32) - 1, sb->s_maxbytes); + sb->s_maxbytes = min(((u64) PAGE_CACHE_SIZE << 32) - 1, (u64)sb->s_maxbytes); #endif sb->s_time_gran = 1; return 0; -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/