cifs: fix crash in cifs_dfs_do_automount
authorRonnie Sahlberg <lsahlber@redhat.com>
Thu, 11 Jul 2019 03:46:58 +0000 (13:46 +1000)
committerSteve French <stfrench@microsoft.com>
Sat, 13 Jul 2019 17:09:29 +0000 (12:09 -0500)
commitce465bf94b70f03136171a62b607864f00093b19
treed13cd85f4d2eb1920b86abd572dc6c25f3a265cc
parentdf070afd9b8c952eacf49db54cae7138eb9deaeb
cifs: fix crash in cifs_dfs_do_automount

RHBZ: 1649907

Fix a crash that happens while attempting to mount a DFS referral from the same server on the root of a filesystem.

Signed-off-by: Ronnie Sahlberg <lsahlber@redhat.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/connect.c