Files
android_kernel_xiaomi_sm8450/fs/ext4
Ye Bin bf4ba04f01 ext4: fix ext4_error_err save negative errno into superblock
commit 6810fad956df9e5467e8e8a5ac66fda0836c71fa upstream.

Fix As write_mmp_block() so that it returns -EIO instead of 1, so that
the correct error gets saved into the superblock.

Cc: stable@kernel.org
Fixes: 54d3adbc29 ("ext4: save all error info in save_error_info() and drop ext4_set_errno()")
Reported-by: Liu Zhi Qiang <liuzhiqiang26@huawei.com>
Signed-off-by: Ye Bin <yebin10@huawei.com>
Reviewed-by: Andreas Dilger <adilger@dilger.ca>
Link: https://lore.kernel.org/r/20210406025331.148343-1-yebin10@huawei.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-05-11 14:47:38 +02:00
..
2020-10-21 23:22:37 -04:00
2020-10-28 13:43:13 -04:00
2020-10-21 23:22:38 -04:00
2020-12-30 11:54:13 +01:00
2021-01-19 18:27:22 +01:00
2020-10-28 13:43:13 -04:00
2021-04-07 15:00:03 +02:00
2020-07-08 10:29:43 -07:00
2021-03-30 14:32:08 +02:00