]> 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)
commitc99673f58fa694054050153b78b3d5c8b0525c8c
tree05aecb6004cf91ccf76be2ef3e56aef1b915057c
parent2eb8c71b9f9db7ff1f6e9e3fa62b2dac9f5c18b8
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