]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rbd nbd: move nbd index parsing to function
authorMike Christie <mchristi@redhat.com>
Wed, 1 May 2019 00:27:09 +0000 (19:27 -0500)
committerMike Christie <mchristi@redhat.com>
Tue, 24 Sep 2019 20:41:21 +0000 (15:41 -0500)
commitb32b66f984f0d8e108bc9d5ced5f8607b1676ca3
tree648bf2017a0d96692e96c8d10e807a17b77e829b
parentd48df4d78387d81ed88ae7bb86804f5522ff1527
rbd nbd: move nbd index parsing to function

Make the nbd index parsing into a functio so we can use in the ioctl and
netlink paths.

Signed-off-by: Mike Christie <mchristi@redhat.com>
(cherry picked from commit b9ca0c1f2835df4fccb8e5b84098695e6652d8e0)
src/tools/rbd_nbd/rbd-nbd.cc