]> git.baikalelectronics.ru Git - kernel.git/commit
rbd: refactor rbd_wait_state_locked()
authorIlya Dryomov <idryomov@gmail.com>
Wed, 4 Apr 2018 08:15:38 +0000 (10:15 +0200)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 16 Apr 2018 07:38:40 +0000 (09:38 +0200)
commit35f57288580bbd19434ae4c0c5318b378922f5bd
treef02375c879d665840d4516a0d22a272d2f3cc030
parentfedbd783dfdfa040524ea8eb8a31cb2a775a133b
rbd: refactor rbd_wait_state_locked()

In preparation for lock_timeout option, make rbd_wait_state_locked()
return error codes.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
drivers/block/rbd.c