diff options
author | Jan Beulich <jbeulich@novell.com> | 2010-12-07 15:54:09 +0100 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2010-12-10 22:29:11 +0100 |
commit | 3dd1462e82bcab7625cec129952f26dae7a8b742 (patch) | |
tree | 0e4da87e5de3c71613ab6a6470b5c16d03c793a4 /fs/btrfs/inode.c | |
parent | Btrfs: Make async snapshot ioctl more generic (diff) | |
download | linux-3dd1462e82bcab7625cec129952f26dae7a8b742.tar.xz linux-3dd1462e82bcab7625cec129952f26dae7a8b742.zip |
Btrfs: fix compiler warnings
... regarding an unused function when !MIGRATION, and regarding a
printk() format string vs argument mismatch.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to '')
-rw-r--r-- | fs/btrfs/inode.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c index 4875d69871b5..5f9194438f7c 100644 --- a/fs/btrfs/inode.c +++ b/fs/btrfs/inode.c @@ -5712,9 +5712,9 @@ 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); + "sector %#Lx len %u err no %d\n", + dip->inode->i_ino, bio->bi_rw, + (unsigned long long)bio->bi_sector, bio->bi_size, err); dip->errors = 1; /* |