Daniel Rosenberg 9a9aecaad9 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>
2019-06-03 13:27:47 -07:00
..
2019-05-08 21:23:11 -07:00
2018-09-12 13:07:10 -07:00
2019-05-30 09:48:45 -07:00
2018-09-12 13:07:10 -07:00
2018-09-12 13:07:10 -07:00
2019-05-08 21:23:13 -07:00
2019-05-14 08:55:43 -07:00
2019-05-30 09:48:45 -07:00
2019-05-08 21:23:13 -07:00
2019-06-03 13:27:47 -07:00
2019-03-15 13:42:53 -07:00
2018-09-12 13:07:10 -07:00