libceph: rename and export con->state states
authorIlya Dryomov <idryomov@gmail.com>
Mon, 9 Nov 2020 13:59:02 +0000 (14:59 +0100)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 14 Dec 2020 22:21:49 +0000 (23:21 +0100)
commit6d7f62bfb5b5da6b0b37174c1fd32545f3b5b90d
tree02abcb74d00b9a06d50f3a43403dff1ac0b8db74
parent30be780a87211de75b93935c20a0913e46744a3f
libceph: rename and export con->state states

In preparation for msgr2, rename msgr1 specific states and move the
defines to the header file.

Also drop state transition comments.  They don't cover all possible
transitions (e.g. NEGOTIATING -> STANDBY, etc) and currently do more
harm than good.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
include/linux/ceph/messenger.h
net/ceph/messenger.c