btrfs: remove extra barrier before waitqueue_active
authorDavid Sterba <dsterba@suse.com>
Mon, 16 Feb 2015 18:39:00 +0000 (19:39 +0100)
committerDavid Sterba <dsterba@suse.com>
Sat, 10 Oct 2015 16:40:33 +0000 (18:40 +0200)
commit779adf0f647651f5a45eeee3442c881300ce989e
tree4f9e555faf8ce150305cea076a31d509653205bb
parenta83342aa0c8f0ca90057d3837ae8d198186e5153
btrfs: remove extra barrier before waitqueue_active

Removing barriers is scary, but a call to atomic_dec_and_test implies
a barrier, so we don't need to issue another one.

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