summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/inode.c
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2011-12-23 13:53:00 +0100
committerChris Mason <chris.mason@oracle.com>2011-12-23 13:53:00 +0100
commit8d532b2afb2eacc84588db709ec280a3d1219be3 (patch)
tree27a4353e75d67bc41e9d2172702dbed1109095eb /fs/btrfs/inode.c
parentBtrfs: unplug every once and a while (diff)
downloadlinux-8d532b2afb2eacc84588db709ec280a3d1219be3.tar.xz
linux-8d532b2afb2eacc84588db709ec280a3d1219be3.zip
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>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions