Baokun Li 7057572745 ubifs: rename_whiteout: correct old_dir size computing
When renaming the whiteout file, the old whiteout file is not deleted.
Therefore, we add the old dentry size to the old dir like XFS.
Otherwise, an error may be reported due to `fscki->calc_sz != fscki->size`
in check_indes.

Fixes: 9e0a1fff8db56ea ("ubifs: Implement RENAME_WHITEOUT")
Reported-by: Zhihao Cheng <chengzhihao1@huawei.com>
Signed-off-by: Baokun Li <libaokun1@huawei.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
2022-03-17 23:34:07 +01:00
..
2021-06-18 22:04:47 +02:00
2022-01-10 21:58:37 +01:00
2021-06-22 09:21:39 +02:00
2020-08-02 22:59:03 +02:00
2021-12-23 20:23:40 +01:00
2021-04-15 22:00:26 +02:00
2021-12-23 22:08:19 +01:00
2021-06-22 09:21:39 +02:00