btrfs: use lockdep_assert_held for mutexes
authorDavid Sterba <dsterba@suse.com>
Fri, 16 Mar 2018 01:21:22 +0000 (02:21 +0100)
committerDavid Sterba <dsterba@suse.com>
Sat, 31 Mar 2018 00:01:06 +0000 (02:01 +0200)
commita32bf9a30201f13097428a3327c7c67f678c760c
tree74d03a6fbc41c7c46eba8d19047eba0bb0d37ed0
parenta4666e688f6fbf532c6c16259bea775ee690e4b7
btrfs: use lockdep_assert_held for mutexes

Using lockdep_assert_held is preferred, replace mutex_is_locked.

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