projects
/
linux-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
nvme: optimise io_uring passthrough completion
[linux-block.git]
/
fs
/
ksmbd
/
transport_tcp.c
diff --git
a/fs/ksmbd/transport_tcp.c
b/fs/ksmbd/transport_tcp.c
index 20e85e2701f26cf38daac453a41cc5eee2c14245..eff7a1d793f00382078f3132f818a2dd4fe62cda 100644
(file)
--- a/
fs/ksmbd/transport_tcp.c
+++ b/
fs/ksmbd/transport_tcp.c
@@
-333,7
+333,7
@@
static int ksmbd_tcp_readv(struct tcp_transport *t, struct kvec *iov_orig,
if (length == -EINTR) {
total_read = -ESHUTDOWN;
break;
- } else if (
conn->status == KSMBD_SESS_NEED_RECONNECT
) {
+ } else if (
ksmbd_conn_need_reconnect(conn)
) {
total_read = -EAGAIN;
break;
} else if (length == -ERESTARTSYS || length == -EAGAIN) {