diff options
author | Huang Jianan <[email protected]> | 2021-03-16 11:15:14 +0800 |
---|---|---|
committer | Gao Xiang <[email protected]> | 2021-03-29 10:18:00 +0800 |
commit | b4892fa3e7fd69e78a82356de45b90758589cafc (patch) | |
tree | 0e53b1067d0d70eab2b6545cd7248fc67d1c6202 /lib/mpi/mpi-pow.c | |
parent | a5e13c6df0e41702d2b2c77c8ad41677ebb065b3 (diff) |
erofs: avoid memory allocation failure during rolling decompression
Currently, err would be treated as io error. Therefore, it'd be
better to ensure memory allocation during rolling decompression
to avoid such io error.
In the long term, we might consider adding another !Uptodate case
for such case.
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Gao Xiang <[email protected]>
Reviewed-by: Chao Yu <[email protected]>
Signed-off-by: Huang Jianan <[email protected]>
Signed-off-by: Guo Weichao <[email protected]>
Signed-off-by: Gao Xiang <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-pow.c')
0 files changed, 0 insertions, 0 deletions