diff options
author | David Sterba <dsterba@suse.com> | 2020-09-15 15:18:23 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2020-12-08 17:53:52 +0300 |
commit | cc7c77146e53ecfbdce695a860e8368c849ffd4f (patch) | |
tree | 860171e3713f0fc54deac8f3ec7e170a3486c364 /fs/btrfs/ref-verify.c | |
parent | c842268458d904c04f08259cc7ecee3870fa2746 (diff) | |
download | linux-cc7c77146e53ecfbdce695a860e8368c849ffd4f.tar.xz |
btrfs: remove unnecessary casts in printk
Long time ago the explicit casts were necessary for u64 but we don't
need it. Remove casts where the type matches, leaving only cases that
cast sector_t or loff_t.
Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/ref-verify.c')
-rw-r--r-- | fs/btrfs/ref-verify.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/btrfs/ref-verify.c b/fs/btrfs/ref-verify.c index 78693d3dd15b..14b0c0dcb08c 100644 --- a/fs/btrfs/ref-verify.c +++ b/fs/btrfs/ref-verify.c @@ -799,8 +799,7 @@ int btrfs_ref_tree_mod(struct btrfs_fs_info *fs_info, if (!be) { btrfs_err(fs_info, "trying to do action %d to bytenr %llu num_bytes %llu but there is no existing entry!", - action, (unsigned long long)bytenr, - (unsigned long long)num_bytes); + action, bytenr, num_bytes); dump_ref_action(fs_info, ra); kfree(ref); kfree(ra); |