]> git.baikalelectronics.ru Git - kernel.git/commit
ext4: fix ext4_show_options for file systems w/o journal
authorDebabrata Banerjee <dbanerje@akamai.com>
Wed, 1 May 2019 03:08:15 +0000 (23:08 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 1 May 2019 03:08:15 +0000 (23:08 -0400)
commit54a47e51d17530141c87ba6b9f03e2beb2c51a06
tree705b74260c9525387136f30b65aa5de70424dd57
parent4fb965d51afe428380c778e1edd4319f68899825
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: eb241d819532 ("ext4: do not allow journal_opts for fs w/o journal")
Signed-off-by: Debabrata Banerjee <dbanerje@akamai.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Reviewed-by: Jan Kara <jack@suse.cz>
Cc: stable@kernel.org
fs/ext4/super.c