OSDN Git Service

gfs2_meta: ->mount() can get NULL dev_name
authorAl Viro <viro@zeniv.linux.org.uk>
Sat, 13 Oct 2018 04:19:13 +0000 (00:19 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 21 Nov 2018 08:27:34 +0000 (09:27 +0100)
commit82a76725f960854d275991bb0c1f8adb44b3c1eb
treecab64b507f658d057ddf0f6e32f00c3d30f07bd4
parentf4af4c7329886024c122cdd88559db4d5b93dc81
gfs2_meta: ->mount() can get NULL dev_name

commit 3df629d873f8683af6f0d34dfc743f637966d483 upstream.

get in sync with mount_bdev() handling of the same

Reported-by: syzbot+c54f8e94e6bba03b04e9@syzkaller.appspotmail.com
Cc: stable@vger.kernel.org
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/gfs2/ops_fstype.c