ceph: separate banner and connect during handshake into distinct stages
authorSage Weil <sage@newdream.net>
Tue, 10 Nov 2009 22:34:36 +0000 (14:34 -0800)
committerSage Weil <sage@newdream.net>
Tue, 10 Nov 2009 22:34:48 +0000 (14:34 -0800)
commiteed0ef2caf928327332da54d23579debe629d5bc
tree396319ef2e65cc775b1466f446edc535401c5cea
parent685f9a5d14194fc35db73e5e7370740ccc14b64a
ceph: separate banner and connect during handshake into distinct stages

We need to make sure we only swab the address during the banner once.  So
break process_banner out of process_connect, and clean up the surrounding
code so that these are distinct phases of the handshake.

Signed-off-by: Sage Weil <sage@newdream.net>
fs/ceph/messenger.c
fs/ceph/messenger.h