diff options
-rw-r--r-- | fs/ceph/messenger.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/fs/ceph/messenger.c b/fs/ceph/messenger.c index 781656a49bf8..203c4359b549 100644 --- a/fs/ceph/messenger.c +++ b/fs/ceph/messenger.c | |||
@@ -830,13 +830,6 @@ static void prepare_read_connect(struct ceph_connection *con) | |||
830 | con->in_base_pos = 0; | 830 | con->in_base_pos = 0; |
831 | } | 831 | } |
832 | 832 | ||
833 | static void prepare_read_connect_retry(struct ceph_connection *con) | ||
834 | { | ||
835 | dout("prepare_read_connect_retry %p\n", con); | ||
836 | con->in_base_pos = strlen(CEPH_BANNER) + sizeof(con->actual_peer_addr) | ||
837 | + sizeof(con->peer_addr_for_me); | ||
838 | } | ||
839 | |||
840 | static void prepare_read_ack(struct ceph_connection *con) | 833 | static void prepare_read_ack(struct ceph_connection *con) |
841 | { | 834 | { |
842 | dout("prepare_read_ack %p\n", con); | 835 | dout("prepare_read_ack %p\n", con); |
@@ -1146,7 +1139,7 @@ static int process_connect(struct ceph_connection *con) | |||
1146 | } | 1139 | } |
1147 | con->auth_retry = 1; | 1140 | con->auth_retry = 1; |
1148 | prepare_write_connect(con->msgr, con, 0); | 1141 | prepare_write_connect(con->msgr, con, 0); |
1149 | prepare_read_connect_retry(con); | 1142 | prepare_read_connect(con); |
1150 | break; | 1143 | break; |
1151 | 1144 | ||
1152 | case CEPH_MSGR_TAG_RESETSESSION: | 1145 | case CEPH_MSGR_TAG_RESETSESSION: |