Message ID | 20190405213635.24383-2-longli@linuxonhyperv.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | [(resend),1/5] cifs: smbd: Don't destroy transport on RDMA disconnect | expand |
diff --git a/fs/cifs/smbdirect.c b/fs/cifs/smbdirect.c index 7259427..df95c75 100644 --- a/fs/cifs/smbdirect.c +++ b/fs/cifs/smbdirect.c @@ -1972,7 +1972,7 @@ static int smbd_recv_buf(struct smbd_connection *info, char *buf, info->transport_status != SMBD_CONNECTED); /* Don't return any data if interrupted */ if (rc) - return -ENODEV; + return rc; if (info->transport_status != SMBD_CONNECTED) { log_read(ERR, "disconnected\n");