diff options
Diffstat (limited to 'fs/dlm/lowcomms.c')
-rw-r--r-- | fs/dlm/lowcomms.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/dlm/lowcomms.c b/fs/dlm/lowcomms.c index 87e9d796cf7d..3a37bd3f9637 100644 --- a/fs/dlm/lowcomms.c +++ b/fs/dlm/lowcomms.c | |||
@@ -421,7 +421,7 @@ static void lowcomms_write_space(struct sock *sk) | |||
421 | 421 | ||
422 | if (test_and_clear_bit(CF_APP_LIMITED, &con->flags)) { | 422 | if (test_and_clear_bit(CF_APP_LIMITED, &con->flags)) { |
423 | con->sock->sk->sk_write_pending--; | 423 | con->sock->sk->sk_write_pending--; |
424 | clear_bit(SOCK_ASYNC_NOSPACE, &con->sock->flags); | 424 | clear_bit(SOCKWQ_ASYNC_NOSPACE, &con->sock->flags); |
425 | } | 425 | } |
426 | 426 | ||
427 | if (!test_and_set_bit(CF_WRITE_PENDING, &con->flags)) | 427 | if (!test_and_set_bit(CF_WRITE_PENDING, &con->flags)) |
@@ -1448,7 +1448,7 @@ static void send_to_sock(struct connection *con) | |||
1448 | msg_flags); | 1448 | msg_flags); |
1449 | if (ret == -EAGAIN || ret == 0) { | 1449 | if (ret == -EAGAIN || ret == 0) { |
1450 | if (ret == -EAGAIN && | 1450 | if (ret == -EAGAIN && |
1451 | test_bit(SOCK_ASYNC_NOSPACE, &con->sock->flags) && | 1451 | test_bit(SOCKWQ_ASYNC_NOSPACE, &con->sock->flags) && |
1452 | !test_and_set_bit(CF_APP_LIMITED, &con->flags)) { | 1452 | !test_and_set_bit(CF_APP_LIMITED, &con->flags)) { |
1453 | /* Notify TCP that we're limited by the | 1453 | /* Notify TCP that we're limited by the |
1454 | * application window size. | 1454 | * application window size. |