workqueue: properly account ->cur_depth
authorJens Axboe <axboe@fb.com>
Fri, 4 Dec 2015 17:20:57 +0000 (10:20 -0700)
committerJens Axboe <axboe@fb.com>
Fri, 4 Dec 2015 17:20:57 +0000 (10:20 -0700)
commit40649b005743e98d460edd8c570e238ded14f0a5
tree581590f8d8b6db337e4a8f373253060641963b80
parent0d593542dd59324fa8a6956716a1278732812af2
workqueue: properly account ->cur_depth

Also handle edge cases better.

Signed-off-by: Jens Axboe <axboe@fb.com>
backend.c
workqueue.c