btrfs: assert delayed ref lock in btrfs_find_delayed_ref_head
authorDavid Sterba <dsterba@suse.com>
Wed, 27 Mar 2019 15:19:55 +0000 (16:19 +0100)
committerDavid Sterba <dsterba@suse.com>
Tue, 2 Jul 2019 10:30:47 +0000 (12:30 +0200)
commit38e9372e391deabf19c76c88b59b5e16f304627a
tree0e648b96e037425d587abc6b7ab4cd0086815aa3
parent93ead46b038037cd717cf46c9170af2531a6eb58
btrfs: assert delayed ref lock in btrfs_find_delayed_ref_head

Turn the comment about required lock into an assertion.

Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/delayed-ref.c