]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rbd: fix rbd-wnbd device status
authorLucian Petrut <lpetrut@cloudbasesolutions.com>
Wed, 17 Feb 2021 13:27:11 +0000 (13:27 +0000)
committerLucian Petrut <lpetrut@cloudbasesolutions.com>
Tue, 23 Feb 2021 09:26:26 +0000 (09:26 +0000)
commit94cf22e35217e33a48ab73a018c8b1015b887ca4
tree0bed05de4ed7fc97d4ea01a665e10b604fa4914d
parent86c7c2f5be96e80d492447d6582131f1b2d3438d
rbd: fix rbd-wnbd device status

The "rbd-wnbd show" command will always report the device status
as "inactive". This patch adds the missing check, similar to the
one used by the "list" command.

Signed-off-by: Lucian Petrut <lpetrut@cloudbasesolutions.com>
src/tools/rbd_wnbd/rbd_wnbd.cc