]> git.baikalelectronics.ru Git - kernel.git/commit
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)
committerDavid Sterba <dsterba@suse.com>
Mon, 21 Jun 2021 13:19:06 +0000 (15:19 +0200)
commitaca529bb9be7fc46ee6a9b676835c1276c43e528
tree0f70bd013716ce656ad8e3ab1751acfd1eab2120
parent587e0b9b96625b3eec6caaafd34e690ac33501f1
btrfs: sysfs: fix format string for some discard stats

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>
fs/btrfs/sysfs.c