btrfs: add barrier for waitqueue_active in clear_btree_io_tree
authorDavid Sterba <dsterba@suse.com>
Sat, 10 Oct 2015 16:24:48 +0000 (18:24 +0200)
committerDavid Sterba <dsterba@suse.com>
Sat, 10 Oct 2015 16:24:48 +0000 (18:24 +0200)
commitb666a9cd993c6a49c4bf23a1ed476359c978f60b
tree891191e5484097c70b953b63029484628dea76c8
parent730d9ec36bf27e87805aee6ebf462071735e31f9
btrfs: add barrier for waitqueue_active in clear_btree_io_tree

waitqueue_active should be preceded by a barrier, in this function we
don't need to call it all the time.

Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/transaction.c