Btrfs: fix worker lock misuse in find_worker
Dan Carpenter noticed that we were doing a double unlock on the worker lock, and sometimes picking a worker thread without the lock held. This fixes both errors. Signed-off-by:Chris Mason <chris.mason@oracle.com> Reported-by:
Dan Carpenter <dan.carpenter@oracle.com>
parent
d85c8a6f
Please register or sign in to comment