aboutsummaryrefslogtreecommitdiffstats
path: root/net/sunrpc/xprtsock.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/sunrpc/xprtsock.c')
-rw-r--r--net/sunrpc/xprtsock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sunrpc/xprtsock.c b/net/sunrpc/xprtsock.c
index ddf0602603bd..d6656d7768f4 100644
--- a/net/sunrpc/xprtsock.c
+++ b/net/sunrpc/xprtsock.c
@@ -1602,7 +1602,7 @@ static void xs_tcp_write_space(struct sock *sk)
1602 read_lock_bh(&sk->sk_callback_lock); 1602 read_lock_bh(&sk->sk_callback_lock);
1603 1603
1604 /* from net/core/stream.c:sk_stream_write_space */ 1604 /* from net/core/stream.c:sk_stream_write_space */
1605 if (sk_stream_wspace(sk) >= sk_stream_min_wspace(sk)) 1605 if (sk_stream_is_writeable(sk))
1606 xs_write_space(sk); 1606 xs_write_space(sk);
1607 1607
1608 read_unlock_bh(&sk->sk_callback_lock); 1608 read_unlock_bh(&sk->sk_callback_lock);