summaryrefslogtreecommitdiffstats
path: root/mm/maccess.c
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2009-09-15 19:57:42 -0400
committerChris Mason <chris.mason@oracle.com>2009-09-15 20:20:16 -0400
commit3e99d8eb347c93a5d38081380b8c9e69b203212e (patch)
tree1fde8df76b399c12827c2e2bd989e29e83d9994f /mm/maccess.c
parent83ebade34bc1a90d0c3f77b87b940f336d075fda (diff)
downloadlinux-stable-3e99d8eb347c93a5d38081380b8c9e69b203212e.tar.gz
linux-stable-3e99d8eb347c93a5d38081380b8c9e69b203212e.tar.bz2
linux-stable-3e99d8eb347c93a5d38081380b8c9e69b203212e.zip
Btrfs: fix async worker startup race
After a new worker thread starts, it is placed into the list of idle threads. But, this may race with a check for idle done by the worker thread itself, resulting in a double list_add operation. This fix adds a check to make sure the idle thread addition is done properly. Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'mm/maccess.c')
0 files changed, 0 insertions, 0 deletions