diff options
author | 2021-11-15 09:31:44 +0800 | |
---|---|---|
committer | 2021-12-23 22:30:38 +0100 | |
commit | 50cb4373254433ad015dd50a061194c693b37c16 (patch) | |
tree | 8bf26d320eb8b207805b4ee414eb1786d875c016 /scripts/gdb/linux/utils.py | |
parent | ubifs: fix double return leb in ubifs_garbage_collect (diff) | |
download | wireguard-linux-50cb4373254433ad015dd50a061194c693b37c16.tar.xz wireguard-linux-50cb4373254433ad015dd50a061194c693b37c16.zip |
ubifs: read-only if LEB may always be taken in ubifs_garbage_collect
If ubifs_garbage_collect_leb() returns -EAGAIN and ubifs_return_leb
returns error, a LEB will always has a "taken" flag. In this case,
set the ubifs to read-only to prevent a worse situation.
Signed-off-by: Baokun Li <libaokun1@huawei.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions