Re: [PATCH 0/6] ubifs: Fix wrong space calculation while doing budget
From: Zhihao Cheng
Date: Fri Nov 18 2022 - 03:53:50 EST
在 2022/10/11 11:47, Zhihao Cheng 写道:
Hi. Richard
Just a reminding. Could you please look through following series(Some of
them is sent several months ago), I wish these can be merged in 6.1,
thanks a lot:
ubi infinite loop:
https://patchwork.ozlabs.org/project/linux-mtd/list/?series=304485
ubi uaf in sysfs:
https://patchwork.ozlabs.org/project/linux-mtd/list/?series=311956
ubi fastmap:
https://patchwork.ozlabs.org/project/linux-mtd/list/?series=313063
ubifs assertion failed about writepage:
https://patchwork.ozlabs.org/project/linux-mtd/list/?series=302776
ubifs space budget:
https://patchwork.ozlabs.org/project/linux-mtd/list/?series=322220
This series of patches fix ubifs wrong budget space calculations,
which could make make_reservation() failed with ENOSPC error code
and let ubifs become read-only.
Zhihao Cheng (6):
ubifs: Rectify space budget for ubifs_symlink() if symlink is
encrypted
ubifs: Rectify space budget for ubifs_xrename()
ubifs: Add comments and debug info for ubifs_xrename()
ubifs: Fix wrong dirty space budget for dirty inode
ubifs: do_rename: Fix wrong space budget when target inode's nlink > 1
ubifs: Reserve one leb for each journal head while doing budget
fs/ubifs/budget.c | 9 ++++-----
fs/ubifs/dir.c | 18 +++++++++++++++++-
2 files changed, 21 insertions(+), 6 deletions(-)