ext4: remove dead code in updating backup sb
authorTanmay Bhushan <007047221b@gmail.com>
Fri, 30 Dec 2022 14:18:58 +0000 (15:18 +0100)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 19 Feb 2023 03:57:25 +0000 (22:57 -0500)
commit08abd0466ec9113908e674d042ec2a36dfc2875c
treebc446a3e406cce5405f0b490f43e270c70909ff7
parent240930fb7e6b52229bdee5b1423bfeab0002fed2
ext4: remove dead code in updating backup sb

ext4_update_backup_sb checks for err having some value
after unlocking buffer. But err has not been updated
till that point in any code which will lead execution
of the code in question.

Signed-off-by: Tanmay Bhushan <007047221b@gmail.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Link: https://lore.kernel.org/r/20221230141858.3828-1-007047221b@gmail.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/ioctl.c