mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-07 05:38:49 -04:00
libceph: clear all flags on con_close
Signed-off-by: Sage Weil <sage@inktank.com>
This commit is contained in:
@@ -528,6 +528,8 @@ void ceph_con_close(struct ceph_connection *con)
|
||||
clear_bit(CON_FLAG_LOSSYTX, &con->flags); /* so we retry next connect */
|
||||
clear_bit(CON_FLAG_KEEPALIVE_PENDING, &con->flags);
|
||||
clear_bit(CON_FLAG_WRITE_PENDING, &con->flags);
|
||||
clear_bit(CON_FLAG_KEEPALIVE_PENDING, &con->flags);
|
||||
clear_bit(CON_FLAG_BACKOFF, &con->flags);
|
||||
|
||||
reset_connection(con);
|
||||
con->peer_global_seq = 0;
|
||||
|
||||
Reference in New Issue
Block a user