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: 08851957 ("ext2: Parse mount options into a dedicated structure") CC: stable@vger.kernel.org Signed-off-by: Nxingaopeng <xingaopeng@huawei.com> Signed-off-by: NJan Kara <jack@suse.cz> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Showing
想要评论请 注册 或 登录