ext4: handle error of ext4_setup_system_zone() on remount
authorJan Kara <jack@suse.cz>
Wed, 17 Mar 2021 16:44:12 +0000 (17:44 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 24 Mar 2021 10:04:54 +0000 (11:04 +0100)
commitda4933175692d1764f3e42027cc6cfeb79647f6c
tree3ee33a862cf381df19931cb673486703c707d7ca
parentcb83ddcd5332fcc3efd52ba994976efc4dd6061e
ext4: handle error of ext4_setup_system_zone() on remount

commit d176b1f62f242ab259ff665a26fbac69db1aecba upstream.

ext4_setup_system_zone() can fail. Handle the failure in ext4_remount().

Reviewed-by: Lukas Czerner <lczerner@redhat.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Link: https://lore.kernel.org/r/20200728130437.7804-2-jack@suse.cz
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/ext4/super.c