diff options
author | 2024-08-27 16:16:36 -0400 | |
---|---|---|
committer | 2024-09-03 22:14:16 -0400 | |
commit | a2187431c395cdfbf144e3536f25468c64fc7cfa (patch) | |
tree | d32d5af2612aaa6292850f75dbeeb0ddb0abf14c /scripts/generate_rust_analyzer.py | |
parent | ext4: save unnecessary indentation in ext4_ext_create_new_leaf() (diff) | |
download | linux-rng-a2187431c395cdfbf144e3536f25468c64fc7cfa.tar.xz linux-rng-a2187431c395cdfbf144e3536f25468c64fc7cfa.zip |
ext4: fix error message when rejecting the default hash
Commit 985b67cd8639 ("ext4: filesystems without casefold feature cannot
be mounted with siphash") properly rejects volumes where
s_def_hash_version is set to DX_HASH_SIPHASH, but the check and the
error message should not look into casefold setup - a filesystem should
never have DX_HASH_SIPHASH as the default hash. Fix it and, since we
are there, move the check to ext4_hash_info_init.
Fixes:985b67cd8639 ("ext4: filesystems without casefold feature cannot
be mounted with siphash")
Signed-off-by: Gabriel Krisman Bertazi <krisman@suse.de>
Link: https://patch.msgid.link/87jzg1en6j.fsf_-_@mailhost.krisman.be
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions