]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rbd-nbd: fix segfault for list-mapped command 26948/head
authorMykola Golub <mgolub@suse.com>
Thu, 14 Mar 2019 07:47:34 +0000 (07:47 +0000)
committerMykola Golub <mgolub@suse.com>
Thu, 14 Mar 2019 07:47:34 +0000 (07:47 +0000)
commita5a49f3871bf5d73e4a1fae04726ac1e771ad1e4
treeec515ec325725174efd55195b904b790ee961de0
parent7de8cb405cba2172449fed7d876408bc3a1af8c2
rbd-nbd: fix segfault for list-mapped command

The global ceph context is not initialized when list-mapped command
is issued.

The regression was introduced by a92628f2857390460e35ae60b8e06f16296da481.

Signed-off-by: Mykola Golub <mgolub@suse.com>
src/tools/rbd_nbd/rbd-nbd.cc