mirror of
https://github.com/hardkernel/linux.git
synced 2026-03-27 13:00:25 +09:00
commitf88f1466e2upstream. We should set the error code when ext4_commit_super check argument failed. Found in code review. Fixes:c4be0c1dc4("filesystem freeze: add error handling of write_super_lockfs/unlockfs"). Cc: stable@kernel.org Signed-off-by: Fengnan Chang <changfengnan@vivo.com> Reviewed-by: Andreas Dilger <adilger@dilger.ca> Link: https://lore.kernel.org/r/20210402101631.561-1-changfengnan@vivo.com Signed-off-by: Theodore Ts'o <tytso@mit.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>