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)
committerBen Hutchings <ben@decadent.org.uk>
Fri, 22 May 2020 20:19:43 +0000 (21:19 +0100)
commit8fe6bfcbae5af3b611ab258a65b299dcaa33ff80
treee1c33bca4e575297671c977da6b05b7b6f86103f
parent4a6b1c75bceade9ece26918bb448d42b15afd29b
cifs: fail i/o on soft mounts if sessionsetup errors out

commit b0dd940e582b6a60296b9847a54012a4b080dc72 upstream.

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>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
fs/cifs/smb2pdu.c