Skip to content
Snippets Groups Projects
Commit 874eb7b2 authored by Jan Kara's avatar Jan Kara Committed by Cheng Jian
Browse files

ext4: combine ext4_handle_error() and save_error_info()


mainline inclusion
from mainline-v5.11-rc4
commit e789ca0cc1d51296832b8424fa4008ce6e9d1703
category: bugfix
bugzilla: 46758
CVE: NA

-----------------------------------------------

save_error_info() is always called together with ext4_handle_error().
Combine them into a single call and move unconditional bits out of
save_error_info() into ext4_handle_error().

Signed-off-by: default avatarJan Kara <jack@suse.cz>
Link: https://lore.kernel.org/r/20201216101844.22917-2-jack@suse.cz


Signed-off-by: default avatarTheodore Ts'o <tytso@mit.edu>

conflicts:
fs/ext4/super.c

Signed-off-by: default avatarYe Bin <yebin10@huawei.com>
Reviewed-by: default avatarzhangyi (F) <yi.zhang@huawei.com>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
Signed-off-by: default avatarCheng Jian <cj.chengjian@huawei.com>
parent be31926d
No related branches found
No related tags found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment