From patchwork Wed Dec 8 10:01:18 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: liubo X-Patchwork-Id: 390312 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id oB8A07Se004780 for ; Wed, 8 Dec 2010 10:00:08 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754647Ab0LHKAE (ORCPT ); Wed, 8 Dec 2010 05:00:04 -0500 Received: from cn.fujitsu.com ([222.73.24.84]:63133 "EHLO song.cn.fujitsu.com" rhost-flags-OK-FAIL-OK-OK) by vger.kernel.org with ESMTP id S1754488Ab0LHKAD convert rfc822-to-8bit (ORCPT ); Wed, 8 Dec 2010 05:00:03 -0500 Received: from tang.cn.fujitsu.com (tang.cn.fujitsu.com [10.167.250.3]) by song.cn.fujitsu.com (Postfix) with ESMTP id 070ED1706F0 for ; Wed, 8 Dec 2010 18:00:01 +0800 (CST) Received: from mailserver.fnst.cn.fujitus.com (tang.cn.fujitsu.com [127.0.0.1]) by tang.cn.fujitsu.com (8.14.3/8.13.1) with ESMTP id oB89tHvr020470 for ; Wed, 8 Dec 2010 17:55:18 +0800 Received: from localhost.localdomain ([10.167.225.27]) by mailserver.fnst.cn.fujitus.com (Lotus Domino Release 8.5.1FP4) with ESMTP id 2010120818000547-187856 ; Wed, 8 Dec 2010 18:00:05 +0800 Message-ID: <4CFF576E.8030505@cn.fujitsu.com> Date: Wed, 08 Dec 2010 18:01:18 +0800 From: liubo User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1b3pre) Gecko/20090513 Fedora/3.0-2.3.beta2.fc11 Thunderbird/3.0b2 MIME-Version: 1.0 To: Linux Btrfs Subject: [PATCH] Btrfs: fix compile warning in fs/btrfs/inode.c X-MIMETrack: Itemize by SMTP Server on mailserver/fnst(Release 8.5.1FP4|July 25, 2010) at 2010-12-08 18:00:05, Serialize by Router on mailserver/fnst(Release 8.5.1FP4|July 25, 2010) at 2010-12-08 18:00:06 Sender: linux-btrfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter1.kernel.org [140.211.167.41]); Wed, 08 Dec 2010 10:00:08 +0000 (UTC) diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c index 0f34cae..eff5aef 100644 --- a/fs/btrfs/inode.c +++ b/fs/btrfs/inode.c @@ -5713,8 +5713,8 @@ static void btrfs_end_dio_bio(struct bio *bio, int err) if (err) { printk(KERN_ERR "btrfs direct IO failed ino %lu rw %lu " "disk_bytenr %lu len %u err no %d\n", - dip->inode->i_ino, bio->bi_rw, bio->bi_sector, - bio->bi_size, err); + dip->inode->i_ino, bio->bi_rw, + (unsigned long)bio->bi_sector, bio->bi_size, err); dip->errors = 1; /*