]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf0791d0405f04fe4d4518da9001eb9962d97c3b7
tree74d03a6fbc41c7c46eba8d19047eba0bb0d37ed0
parent877beb5a2bc80b038c77b051a5fa1acfbcc3ddcb
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