Btrfs: add a barrier before a waitqueue_active check
authorChris Mason <chris.mason@fusionio.com>
Wed, 25 Jul 2012 20:03:32 +0000 (16:03 -0400)
committerChris Mason <chris.mason@fusionio.com>
Wed, 25 Jul 2012 20:15:08 +0000 (16:15 -0400)
commitcd1cfc49153ba2bef247e500d8bd4d135193ece9
tree34446eea9087a689b7864506197292bf9689fd28
parente9fbcb42201c862fd6ab45c48ead4f47bb2dea9d
Btrfs: add a barrier before a waitqueue_active check

We were missing wakeups on the delayed ref waitqueue due
to races on waitqueue_active.

Signed-off-by: Chris Mason <chris.mason@fusionio.com>
fs/btrfs/extent-tree.c