diff options
author | David Sterba <dsterba@suse.com> | 2018-03-16 04:21:22 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2018-03-31 03:01:06 +0300 |
commit | a4666e688f6fbf532c6c16259bea775ee690e4b7 (patch) | |
tree | 3a7f21d5962c260b9153c43ffaa998fd2c203bc4 /fs/btrfs/qgroup.c | |
parent | 581c1760415c48cca9349b198bba52dd38750765 (diff) | |
download | linux-a4666e688f6fbf532c6c16259bea775ee690e4b7.tar.xz |
btrfs: use lockdep_assert_held for spinlocks
Using lockdep_assert_held is preferred, replace assert_spin_locked.
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/qgroup.c')
-rw-r--r-- | fs/btrfs/qgroup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/qgroup.c b/fs/btrfs/qgroup.c index 875df02ffaee..f583f13ff26e 100644 --- a/fs/btrfs/qgroup.c +++ b/fs/btrfs/qgroup.c @@ -1484,7 +1484,7 @@ int btrfs_qgroup_trace_extent_nolock(struct btrfs_fs_info *fs_info, struct btrfs_qgroup_extent_record *entry; u64 bytenr = record->bytenr; - assert_spin_locked(&delayed_refs->lock); + lockdep_assert_held(&delayed_refs->lock); trace_btrfs_qgroup_trace_extent(fs_info, record); while (*p) { |