mirror of
https://github.com/torvalds/linux.git
synced 2026-11-06 21:58:01 +01:00
libceph: use sk_clear_nospace()
Use the new helpers instead of open coding the SOCK_NOSPACE manipulation, so that TCP can later maintain a cheaper private copy of this bit. No functional change intended. Reviewed-by: Kuniyuki Iwashima <kuniyu@google.com> Signed-off-by: Eric Dumazet <edumazet@kernel.org> Link: https://patch.msgid.link/20260929071743.23624-9-edumazet@kernel.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
parent
f80fa2ddfe
commit
5181ac6175
|
|
@ -375,7 +375,7 @@ static void ceph_sock_write_space(struct sock *sk)
|
|||
if (ceph_con_flag_test(con, CEPH_CON_F_WRITE_PENDING)) {
|
||||
if (sk_stream_is_writeable(sk)) {
|
||||
dout("%s %p queueing write work\n", __func__, con);
|
||||
clear_bit(SOCK_NOSPACE, &sk->sk_socket->flags);
|
||||
sk_clear_nospace(sk);
|
||||
queue_con(con);
|
||||
}
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user