diff mbox

Btrfs: fix compile warning in fs/btrfs/inode.c

Message ID 4CFF576E.8030505@cn.fujitsu.com (mailing list archive)
State New, archived
Headers show

Commit Message

liubo Dec. 8, 2010, 10:01 a.m. UTC
None
diff mbox

Patch

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;
 
 		/*