diff options
author | Zhihao Cheng <chengzhihao1@huawei.com> | 2022-10-11 05:47:27 +0200 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2023-02-02 21:13:36 +0100 |
commit | c2c36cc6ca23e614f9e4238d0ecf48549ee9002a (patch) | |
tree | 75f7d6f49c3420b72925db6e8679322ff535bedb /fs/nfs | |
parent | ubi: block: Reduce warning print to info for static volumes (diff) | |
download | linux-c2c36cc6ca23e614f9e4238d0ecf48549ee9002a.tar.xz linux-c2c36cc6ca23e614f9e4238d0ecf48549ee9002a.zip |
ubifs: Rectify space budget for ubifs_symlink() if symlink is encrypted
Fix bad space budget when symlink file is encrypted. Bad space budget
may let make_reservation() return with -ENOSPC, which could turn ubifs
to read-only mode in do_writepage() process.
Fetch a reproducer in [Link].
Link: https://bugzilla.kernel.org/show_bug.cgi?id=216490
Fixes: ca7f85be8d6cf9 ("ubifs: Add support for encrypted symlinks")
Signed-off-by: Zhihao Cheng <chengzhihao1@huawei.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'fs/nfs')
0 files changed, 0 insertions, 0 deletions