diff options
author | 2019-05-29 17:49:04 -0700 | |
---|---|---|
committer | 2019-06-03 13:27:47 -0700 | |
commit | 9a9aecaad92d4fba0e2682ca6897d3a5aeabf123 (patch) | |
tree | c0a391203640e804b34f369aa3d653eecb5eef9d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | f2fs: Lower threshold for disable_cp_again (diff) | |
download | linux-dev-9a9aecaad92d4fba0e2682ca6897d3a5aeabf123.tar.xz linux-dev-9a9aecaad92d4fba0e2682ca6897d3a5aeabf123.zip |
f2fs: Fix root reserved on remount
On a remount, you can currently set root reserved if it was not
previously set. This can cause an underflow if reserved has been set to
a very high value, since then root reserved + current reserved could be
greater than user_block_count. inc_valid_block_count later subtracts out
these values from user_block_count, causing an underflow.
Signed-off-by: Daniel Rosenberg <drosen@google.com>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions