summaryrefslogtreecommitdiff
path: root/fs/ext4/mballoc.c
diff options
context:
space:
mode:
authoryangerkun <yangerkun@huawei.com>2020-06-01 15:34:04 +0800
committerTheodore Ts'o <tytso@mit.edu>2020-06-11 10:59:38 -0400
commit5adaccac46ea79008d7b75f47913f1a00f91d0ce (patch)
tree59e1ae301608839f2b9083abf22b1bf662d5eac0 /fs/ext4/mballoc.c
parentcfb3c85a600c6aa25a2581b3c1c4db3460f14e46 (diff)
ext4: stop overwrite the errcode in ext4_setup_super
Now the errcode from ext4_commit_super will overwrite EROFS exists in ext4_setup_super. Actually, no need to call ext4_commit_super since we will return EROFS. Fix it by goto done directly. Fixes: c89128a00838 ("ext4: handle errors on ext4_commit_super") Signed-off-by: yangerkun <yangerkun@huawei.com> Reviewed-by: Jan Kara <jack@suse.cz> Link: https://lore.kernel.org/r/20200601073404.3712492-1-yangerkun@huawei.com Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/mballoc.c')
0 files changed, 0 insertions, 0 deletions