summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/tests/btrfs-tests.c
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2019-03-27 16:55:26 +0100
committerDavid Sterba <dsterba@suse.com>2019-04-29 19:02:31 +0200
commit90b1377daa9633973d595487d717d43d3c601420 (patch)
tree3932b9263bd21299e7305379f9b37b12b119f028 /fs/btrfs/tests/btrfs-tests.c
parente064d5e9f0a00041f84d9eabd3d53546e4f8ab74 (diff)
downloadlinux-90b1377daa9633973d595487d717d43d3c601420.tar.gz
linux-90b1377daa9633973d595487d717d43d3c601420.tar.bz2
linux-90b1377daa9633973d595487d717d43d3c601420.zip
btrfs: qgroup: remove obsolete fs_info members
The commit fcebe4562dec ("Btrfs: rework qgroup accounting") reworked qgroups and added some new structures. Another rework of qgroup mechanics e69bcee37692 ("btrfs: qgroup: Cleanup the old ref_node-oriented mechanism.") stopped using them and left uncleaned. Reviewed-by: Qu Wenruo <wqu@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/tests/btrfs-tests.c')
-rw-r--r--fs/btrfs/tests/btrfs-tests.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/btrfs/tests/btrfs-tests.c b/fs/btrfs/tests/btrfs-tests.c
index 314d7bdac9d5..9238fd4f1734 100644
--- a/fs/btrfs/tests/btrfs-tests.c
+++ b/fs/btrfs/tests/btrfs-tests.c
@@ -109,7 +109,6 @@ struct btrfs_fs_info *btrfs_alloc_dummy_fs_info(u32 nodesize, u32 sectorsize)
spin_lock_init(&fs_info->buffer_lock);
spin_lock_init(&fs_info->qgroup_lock);
- spin_lock_init(&fs_info->qgroup_op_lock);
spin_lock_init(&fs_info->super_lock);
spin_lock_init(&fs_info->fs_roots_radix_lock);
spin_lock_init(&fs_info->tree_mod_seq_lock);