summaryrefslogtreecommitdiffstats
path: root/fs/jbd2/transaction.c
diff options
context:
space:
mode:
authorYe Bin <yebin10@huawei.com>2021-04-06 04:53:31 +0200
committerTheodore Ts'o <tytso@mit.edu>2021-04-10 02:58:30 +0200
commit6810fad956df9e5467e8e8a5ac66fda0836c71fa (patch)
treec944921031972df5ffdf52f7fc3dc5795f59b9cb /fs/jbd2/transaction.c
parentext4: fix error code in ext4_commit_super (diff)
downloadlinux-6810fad956df9e5467e8e8a5ac66fda0836c71fa.tar.xz
linux-6810fad956df9e5467e8e8a5ac66fda0836c71fa.zip
ext4: fix ext4_error_err save negative errno into superblock
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: 54d3adbc29f0 ("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>
Diffstat (limited to 'fs/jbd2/transaction.c')
0 files changed, 0 insertions, 0 deletions