diff options
author | Baokun Li <[email protected]> | 2022-11-09 15:43:43 +0800 |
---|---|---|
committer | Theodore Ts'o <[email protected]> | 2022-12-08 21:49:24 -0500 |
commit | 89481b5fa8c0640e62ba84c6020cee895f7ac643 (patch) | |
tree | 7fcf515ed1d611ca580dbb4c38fe2a208496473b /scripts/generate_rust_analyzer.py | |
parent | bb0fbc782ee9fa8c970c8e8e17c1a52ff9419182 (diff) |
ext4: correct inconsistent error msg in nojournal mode
When we used the journal_async_commit mounting option in nojournal mode,
the kernel told me that "can't mount with journal_checksum", was very
confusing. I find that when we mount with journal_async_commit, both the
JOURNAL_ASYNC_COMMIT and EXPLICIT_JOURNAL_CHECKSUM flags are set. However,
in the error branch, CHECKSUM is checked before ASYNC_COMMIT. As a result,
the above inconsistency occurs, and the ASYNC_COMMIT branch becomes dead
code that cannot be executed. Therefore, we exchange the positions of the
two judgments to make the error msg more accurate.
Signed-off-by: Baokun Li <[email protected]>
Reviewed-by: Jan Kara <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Theodore Ts'o <[email protected]>
Cc: [email protected]
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions