summaryrefslogtreecommitdiff
path: root/fs/ufs/inode.c
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2009-09-16 03:57:42 +0400
committerChris Mason <chris.mason@oracle.com>2009-09-16 04:20:16 +0400
commit3e99d8eb347c93a5d38081380b8c9e69b203212e (patch)
tree1fde8df76b399c12827c2e2bd989e29e83d9994f /fs/ufs/inode.c
parent83ebade34bc1a90d0c3f77b87b940f336d075fda (diff)
downloadlinux-3e99d8eb347c93a5d38081380b8c9e69b203212e.tar.xz
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 'fs/ufs/inode.c')
0 files changed, 0 insertions, 0 deletions