cifs: fail i/o on soft mounts if sessionsetup errors out
authorRonnie Sahlberg <lsahlber@redhat.com>
Wed, 5 Feb 2020 01:08:01 +0000 (11:08 +1000)
committerSteve French <stfrench@microsoft.com>
Wed, 5 Feb 2020 12:32:41 +0000 (06:32 -0600)
commitb0dd940e582b6a60296b9847a54012a4b080dc72
tree2594902f0c534725e09d2ed63d641ea490342f7b
parent87f93d82e0952da18af4d978e7d887b4c5326c0b
cifs: fail i/o on soft mounts if sessionsetup errors out

RHBZ: 1579050

If we have a soft mount we should fail commands for session-setup
failures (such as the password having changed/ account being deleted/ ...)
and return an error back to the application.

Signed-off-by: Ronnie Sahlberg <lsahlber@redhat.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
CC: Stable <stable@vger.kernel.org>
fs/cifs/smb2pdu.c