summaryrefslogtreecommitdiff
path: root/fs/btrfs/uuid-tree.c
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2020-09-15 15:18:23 +0300
committerDavid Sterba <dsterba@suse.com>2020-12-08 17:53:52 +0300
commitcc7c77146e53ecfbdce695a860e8368c849ffd4f (patch)
tree860171e3713f0fc54deac8f3ec7e170a3486c364 /fs/btrfs/uuid-tree.c
parentc842268458d904c04f08259cc7ecee3870fa2746 (diff)
downloadlinux-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/uuid-tree.c')
-rw-r--r--fs/btrfs/uuid-tree.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/btrfs/uuid-tree.c b/fs/btrfs/uuid-tree.c
index 28525ad7ff8c..74023c8a783f 100644
--- a/fs/btrfs/uuid-tree.c
+++ b/fs/btrfs/uuid-tree.c
@@ -129,8 +129,7 @@ int btrfs_uuid_tree_add(struct btrfs_trans_handle *trans, u8 *uuid, u8 type,
} else {
btrfs_warn(fs_info,
"insert uuid item failed %d (0x%016llx, 0x%016llx) type %u!",
- ret, (unsigned long long)key.objectid,
- (unsigned long long)key.offset, type);
+ ret, key.objectid, key.offset, type);
goto out;
}