Skip to content

Commit

Permalink
Merge branch 'wip-18070' into wip-mgolub-testing
Browse files Browse the repository at this point in the history
rbd-nbd: restart parent process logger after forking #12222
  • Loading branch information
Mykola Golub committed Nov 30, 2016
2 parents dbe879c + 29baf25 commit 8864707
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/tools/rbd_nbd/rbd-nbd.cc
Original file line number Diff line number Diff line change
Expand Up @@ -493,8 +493,9 @@ static int do_map()
}

if (forker.is_parent()) {
global_init_postfork_start(g_ceph_context);
if (forker.parent_wait(err) != 0) {
return -ENXIO;
return -ENXIO;
}
return 0;
}
Expand Down

0 comments on commit 8864707

Please sign in to comment.