commit | 1666cf8c492d7a9b8b83e26eb139961a4c137b80 | [log] [tgz] |
---|---|---|
author | xingaopeng <xingaopeng@huawei.com> | Sat Nov 24 19:21:59 2018 +0800 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Dec 05 19:32:11 2018 +0100 |
tree | 88dcf1f946ad48ad790f24209bde080969c5ea2c | |
parent | 553927d6aab993e1297d0c69274cd0c2df5440ca [diff] |
ext2: initialize opts.s_mount_opt as zero before using it commit e5f5b717983bccfa033282e9886811635602510e upstream. We need to initialize opts.s_mount_opt as zero before using it, else we may get some unexpected mount options. Fixes: 088519572ca8 ("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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>