projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e8b3bfe
)
cifs: smbd: Return EINTR when interrupted
author
Long Li
<longli@microsoft.com>
Fri, 5 Apr 2019 21:36:32 +0000
(21:36 +0000)
committer
Steve French
<stfrench@microsoft.com>
Wed, 8 May 2019 04:24:54 +0000
(23:24 -0500)
When packets are waiting for outbound I/O and interrupted, return the
proper error code to user process.
Signed-off-by: Long Li <longli@microsoft.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/smbdirect.c
patch
|
blob
|
history
diff --git
a/fs/cifs/smbdirect.c
b/fs/cifs/smbdirect.c
index 72594277f80064c99c63de003f6fc29eaa9ab9b8..df95c7568445664a25483fcad97651147ceb3409 100644
(file)
--- a/
fs/cifs/smbdirect.c
+++ b/
fs/cifs/smbdirect.c
@@
-1972,7
+1972,7
@@
read_rfc1002_done:
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");