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:15:05 +0000 (11:15 -0800)
commit63be2065bf4d66c50d3d43935c4687d25642dbbd
tree44ea498bb7ee2aa9d9294f0eaa13cc7615ec8fee
parentcf08282805374fbf0c3c6a124f8e4687c21c6615
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