Skip to content
Snippets Groups Projects
Commit 50b29d8f authored by Debabrata Banerjee's avatar Debabrata Banerjee Committed by Theodore Ts'o
Browse files

ext4: fix ext4_show_options for file systems w/o journal


Instead of removing EXT4_MOUNT_JOURNAL_CHECKSUM from s_def_mount_opt as
I assume was intended, all other options were blown away leading to
_ext4_show_options() output being incorrect.

Fixes: 1e381f60 ("ext4: do not allow journal_opts for fs w/o journal")
Signed-off-by: default avatarDebabrata Banerjee <dbanerje@akamai.com>
Signed-off-by: default avatarTheodore Ts'o <tytso@mit.edu>
Reviewed-by: default avatarJan Kara <jack@suse.cz>
Cc: stable@kernel.org
parent 28ba53c0
No related branches found
No related tags found
1 merge request!54Drop capacity
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment