diff options
author | Joel Becker <joel.becker@oracle.com> | 2009-04-21 15:38:29 -0400 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2009-04-27 08:37:49 -0400 |
commit | 21380931eb4da4e29ac663d0221581282cbba208 (patch) | |
tree | fa8c2155784ccb0ee996e52e75d1e04b79cf2560 /fs/btrfs/disk-io.c | |
parent | e63b6a6c0ffa2ebd8617cc1a10969000296831aa (diff) |
Btrfs: Fix a bunch of printk() warnings.
Just happened to notice a bunch of %llu vs u64 warnings. Here's a patch
to cast them all.
Signed-off-by: Joel Becker <joel.becker@oracle.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/disk-io.c')
-rw-r--r-- | fs/btrfs/disk-io.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c index aa0c259b9c28..0ff16d3331da 100644 --- a/fs/btrfs/disk-io.c +++ b/fs/btrfs/disk-io.c | |||
@@ -1671,7 +1671,7 @@ struct btrfs_root *open_ctree(struct super_block *sb, | |||
1671 | if (features) { | 1671 | if (features) { |
1672 | printk(KERN_ERR "BTRFS: couldn't mount because of " | 1672 | printk(KERN_ERR "BTRFS: couldn't mount because of " |
1673 | "unsupported optional features (%Lx).\n", | 1673 | "unsupported optional features (%Lx).\n", |
1674 | features); | 1674 | (unsigned long long)features); |
1675 | err = -EINVAL; | 1675 | err = -EINVAL; |
1676 | goto fail_iput; | 1676 | goto fail_iput; |
1677 | } | 1677 | } |
@@ -1681,7 +1681,7 @@ struct btrfs_root *open_ctree(struct super_block *sb, | |||
1681 | if (!(sb->s_flags & MS_RDONLY) && features) { | 1681 | if (!(sb->s_flags & MS_RDONLY) && features) { |
1682 | printk(KERN_ERR "BTRFS: couldn't mount RDWR because of " | 1682 | printk(KERN_ERR "BTRFS: couldn't mount RDWR because of " |
1683 | "unsupported option features (%Lx).\n", | 1683 | "unsupported option features (%Lx).\n", |
1684 | features); | 1684 | (unsigned long long)features); |
1685 | err = -EINVAL; | 1685 | err = -EINVAL; |
1686 | goto fail_iput; | 1686 | goto fail_iput; |
1687 | } | 1687 | } |
@@ -2273,7 +2273,7 @@ int close_ctree(struct btrfs_root *root) | |||
2273 | 2273 | ||
2274 | if (fs_info->delalloc_bytes) { | 2274 | if (fs_info->delalloc_bytes) { |
2275 | printk(KERN_INFO "btrfs: at unmount delalloc count %llu\n", | 2275 | printk(KERN_INFO "btrfs: at unmount delalloc count %llu\n", |
2276 | fs_info->delalloc_bytes); | 2276 | (unsigned long long)fs_info->delalloc_bytes); |
2277 | } | 2277 | } |
2278 | if (fs_info->total_ref_cache_size) { | 2278 | if (fs_info->total_ref_cache_size) { |
2279 | printk(KERN_INFO "btrfs: at umount reference cache size %llu\n", | 2279 | printk(KERN_INFO "btrfs: at umount reference cache size %llu\n", |