diff options
author | David Sterba <dsterba@suse.com> | 2018-03-16 02:21:22 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2018-03-31 02:01:06 +0200 |
commit | a4666e688f6fbf532c6c16259bea775ee690e4b7 (patch) | |
tree | 3a7f21d5962c260b9153c43ffaa998fd2c203bc4 /fs/btrfs/qgroup.c | |
parent | btrfs: Validate child tree block's level and first key (diff) | |
download | linux-a4666e688f6fbf532c6c16259bea775ee690e4b7.tar.xz linux-a4666e688f6fbf532c6c16259bea775ee690e4b7.zip |
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) { |