diskutil: ensure that we lock around disk_list access
authorJens Axboe <axboe@kernel.dk>
Wed, 1 Aug 2012 07:39:36 +0000 (09:39 +0200)
committerJens Axboe <axboe@kernel.dk>
Wed, 1 Aug 2012 07:39:36 +0000 (09:39 +0200)
commitfeb418556a236aa041a625b083d6b99e55d23d74
tree380bea75f4ec591070641b2fe375068c7efdd21a
parentbcb01f840c244851f760e5ea3bb0fe9aa1c03188
diskutil: ensure that we lock around disk_list access

And also ensure that before we free the disk util structures,
we wait for the disk util thread to exit.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
backend.c
diskutil.c
diskutil.h
iolog.h