]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rbd nbd: move nbd map ioctls to new function
authorMike Christie <mchristi@redhat.com>
Tue, 30 Apr 2019 06:54:49 +0000 (01:54 -0500)
committerMike Christie <mchristi@redhat.com>
Wed, 5 Jun 2019 04:56:53 +0000 (23:56 -0500)
commit11c6c61549acdaa5c07a3539e3d8d41594d26050
tree557121786c274f8afdaf619d7eed312484e9dc1e
parentafe10e01d74e4f104d5704dfdb426714047b72c5
rbd nbd: move nbd map ioctls to new function

The next patches will add nbd map netlink support so this moves the ioctl
code to a new function to keep things cleaner and not overloading do_map.

Signed-off-by: Mike Christie <mchristi@redhat.com>
src/tools/rbd_nbd/rbd-nbd.cc