]> git.baikalelectronics.ru Git - kernel.git/commit
libceph: get rid of more_kvec in try_write()
authorIlya Dryomov <idryomov@gmail.com>
Wed, 25 Apr 2018 10:17:13 +0000 (12:17 +0200)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 4 Jun 2018 18:45:55 +0000 (20:45 +0200)
commitc8d48f8ce0298b9a24f841d3af0d44e189c5a14f
tree633139f51d26b129a7586df7ecee7134737b6b56
parent30cfc1a5a7d680d1a66da76ed208982940834f5c
libceph: get rid of more_kvec in try_write()

All gotos to "more" are conditioned on con->state == OPEN, but the only
thing "more" does is opening the socket if con->state == PREOPEN.  Kill
that label and rename "more_kvec" to "more".

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
net/ceph/messenger.c