]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: remove waitqueue_active check from btrfs_rm_dev_replace_unblocked
authorDavid Sterba <dsterba@suse.com>
Sat, 10 Oct 2015 16:16:38 +0000 (18:16 +0200)
committerDavid Sterba <dsterba@suse.com>
Sat, 10 Oct 2015 16:16:38 +0000 (18:16 +0200)
commite043586e40a300c4616a7558fe36bb750d44ccb7
tree8a89528930f7429db0f6e7014df910ecfad7ba87
parent10081a8d386e8d27bd6237c502ee0d88f0b2db40
btrfs: remove waitqueue_active check from btrfs_rm_dev_replace_unblocked

Normally the waitqueue_active would need a barrier, but this is not
necessary here because it's not a performance sensitive context and we
can call wake_up directly.

Suggested-by: Chris Mason <clm@fb.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/dev-replace.c