Files
ack-tegra/fs/ubifs
Zhihao Cheng 84a2bee9c4 ubifs: Correct the total block count by deducting journal reservation
Since commit e874dcde1c ("ubifs: Reserve one leb for each journal
head while doing budget"), available space is calulated by deducting
reservation for all journal heads. However, the total block count (
which is only used by statfs) is not updated yet, which will cause
the wrong displaying for used space(total - available).
Fix it by deducting reservation for all journal heads from total
block count.

Fixes: e874dcde1c ("ubifs: Reserve one leb for each journal head while doing budget")
Signed-off-by: Zhihao Cheng <chengzhihao1@huawei.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
2024-11-14 18:01:42 +01:00
..
2024-07-12 21:53:35 +02:00
2024-09-27 08:18:43 -07:00
2024-09-12 11:58:45 +02:00
2024-07-12 21:53:35 +02:00
2023-02-02 21:13:53 +01:00
2024-07-12 21:53:35 +02:00
2024-11-14 17:58:45 +01:00
2024-07-12 21:53:35 +02:00
2020-08-02 22:59:03 +02:00
2024-07-12 21:53:35 +02:00
2021-04-15 22:00:26 +02:00