diff options
author | Zhihao Cheng <chengzhihao1@huawei.com> | 2022-10-11 06:47:28 +0300 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2023-02-02 23:13:37 +0300 |
commit | 1b2ba09060e41adb356b9ae58ef94a7390928004 (patch) | |
tree | 5b9a3b23aed8f63d6db6daf397f239d916c5a5fc /tools/perf/scripts/python/export-to-postgresql.py | |
parent | c2c36cc6ca23e614f9e4238d0ecf48549ee9002a (diff) | |
download | linux-1b2ba09060e41adb356b9ae58ef94a7390928004.tar.xz |
ubifs: Rectify space budget for ubifs_xrename()
There is no space budget for ubifs_xrename(). It may let
make_reservation() return with -ENOSPC, which could turn
ubifs to read-only mode in do_writepage() process.
Fix it by adding space budget for ubifs_xrename().
Fetch a reproducer in [Link].
Link: https://bugzilla.kernel.org/show_bug.cgi?id=216569
Fixes: 9ec64962afb170 ("ubifs: Implement RENAME_EXCHANGE")
Signed-off-by: Zhihao Cheng <chengzhihao1@huawei.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions