diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2022-06-11 02:45:19 +0300 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-23 00:09:33 +0300 |
commit | a5d18f9ec0e2cfce1e0dc50f07d614ba21edaae9 (patch) | |
tree | 978291d2776c6b18076e9a4d21025f7b7310aa14 /fs/bcachefs/sysfs.c | |
parent | df8c2ccb9309f342724f3104fd9d68d7e4ce65da (diff) | |
download | linux-a5d18f9ec0e2cfce1e0dc50f07d614ba21edaae9.tar.xz |
bcachefs: Improved human readable integer parsing
Printbufs recently switched to using string_get_size() for printing
integers in human readable units. This updates __bch2_strtoh() to parse
numbers printed by string_get_size() - we now have to handle floating
point numbers, and new unit suffixes.
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Diffstat (limited to 'fs/bcachefs/sysfs.c')
0 files changed, 0 insertions, 0 deletions