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>
Tue, 13 Nov 2018 19:08:43 +0000 (11:08 -0800)
commit8c448126af0e8fb16ef43303aa30890baa6f4e78
treeaa428326bda45224c2a6717d8d559d7d02089227
parent25881163ae1f2d26458a6c57aabff41787ef8a69
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