Ensure we do not hand out the dskbuddy before it is safe to

parent f7a96444
......@@ -6141,6 +6141,7 @@ fellow_log_set_diag(struct fellow_fd *ffd, fellow_log_diag_f *diag)
buddy_t *
fellow_dskbuddy(struct fellow_fd *ffd)
{
fellow_wait_open(ffd);
return (ffd->dskbuddy);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment