]> git.baikalelectronics.ru Git - kernel.git/commit
block/rnbd-clt: send_msg_close if any error occurs after send_msg_open
authorGioh Kim <gi-oh.kim@cloud.ionos.com>
Tue, 13 Oct 2020 10:30:50 +0000 (12:30 +0200)
committerJens Axboe <axboe@kernel.dk>
Tue, 13 Oct 2020 21:05:05 +0000 (15:05 -0600)
commit20b1f6fc198d0d7174c730bc5fcc21d092134095
tree05aecb6004cf91ccf76be2ef3e56aef1b915057c
parentea993079fc28b6bb9115ca4c5c3e175e469239bb
block/rnbd-clt: send_msg_close if any error occurs after send_msg_open

After send_msg_open is done, send_msg_close should be done
if any error occurs and it is necessary to recover
what has been done.

Signed-off-by: Gioh Kim <gi-oh.kim@cloud.ionos.com>
Signed-off-by: Jack Wang <jinpu.wang@cloud.ionos.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/rnbd/rnbd-clt.c