diff options
author | Fengnan Chang <changfengnan@vivo.com> | 2021-04-02 18:16:31 +0800 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2021-04-09 20:52:51 -0400 |
commit | f88f1466e2a2e5ca17dfada436d3efa1b03a3972 (patch) | |
tree | 17f1f5d65748c7ed91b246f4f1eedabd12cd14ef /fs/ext4/mmp.c | |
parent | ac2f7ca51b0929461ea49918f27c11b680f28995 (diff) |
ext4: fix error code in ext4_commit_super
We should set the error code when ext4_commit_super check argument failed.
Found in code review.
Fixes: c4be0c1dc4cdc ("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>
Diffstat (limited to 'fs/ext4/mmp.c')
0 files changed, 0 insertions, 0 deletions