btrfs: dev-replace: remove pointless assert in write unlock
authorDavid Sterba <dsterba@suse.com>
Wed, 4 Apr 2018 23:19:50 +0000 (01:19 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 15 Oct 2018 15:23:38 +0000 (17:23 +0200)
commit9b142115ed3593480b813a9331593e9f199da340
tree1ba0e3ca09fa57e8a591aa7f8ef850415d1ce1f3
parent7f8d236ae132a8886a0186008c828e21f7460474
btrfs: dev-replace: remove pointless assert in write unlock

The value of blocking_readers is increased only when the lock is taken
for read, no way we can fail the condition with the write lock.

Reviewed-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/dev-replace.c