]> git.baikalelectronics.ru Git - kernel.git/commit
ext2: initialize opts.s_mount_opt as zero before using it
authorxingaopeng <xingaopeng@huawei.com>
Sat, 24 Nov 2018 11:21:59 +0000 (19:21 +0800)
committerJan Kara <jack@suse.cz>
Tue, 27 Nov 2018 09:21:03 +0000 (10:21 +0100)
commitd2ab957c5af322f00841bf66bf957f348c454bf4
tree3322f52b05b6c849c532d3abc696674272d2b491
parentb0dbb6117a300df6fb946f79ca78130f76f3a21c
ext2: initialize opts.s_mount_opt as zero before using it

We need to initialize opts.s_mount_opt as zero before using it, else we
may get some unexpected mount options.

Fixes: 99ba8cd4bf48 ("ext2: Parse mount options into a dedicated structure")
CC: stable@vger.kernel.org
Signed-off-by: xingaopeng <xingaopeng@huawei.com>
Signed-off-by: Jan Kara <jack@suse.cz>
fs/ext2/super.c