btrfs: sysfs: fix format string for some discard stats
authorDavid Sterba <dsterba@suse.com>
Fri, 7 May 2021 18:00:14 +0000 (20:00 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 14 Jul 2021 14:55:55 +0000 (16:55 +0200)
commit703b494a68f94fb0ffffabd8f9c2352c20200cf1
tree0f57048b131f4e142574bf4e91adf111fd0b8634
parent8d05e30c974f2e94d8fde4fbb112c7ef27e859c3
btrfs: sysfs: fix format string for some discard stats

[ Upstream commit 8c5ec995616f1202ab92e195fd75d6f60d86f85c ]

The type of discard_bitmap_bytes and discard_extent_bytes is u64 so the
format should be %llu, though the actual values would hardly ever
overflow to negative values.

Reviewed-by: Qu Wenruo <wqu@suse.com>
Reviewed-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
fs/btrfs/sysfs.c