diff options
author | Junchao Sun <sunjunchao2870@gmail.com> | 2024-05-28 09:23:43 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2024-07-11 16:33:22 +0300 |
commit | a56b79523483c04862d478687d888038720a1bb4 (patch) | |
tree | f05cbe9bbab4da360338d1bdd622d6a0974fa017 /fs/btrfs/qgroup.h | |
parent | a185373e53c6d22134c89be8508cfb5a491103c8 (diff) | |
download | linux-a56b79523483c04862d478687d888038720a1bb4.tar.xz |
btrfs: qgroup: delete a TODO about using kmem cache to allocate structures
Generic slab works fine allocating btrfs_qgroup_extent_record
structures. It's not necessary to create a dedicated kmem cache that
would be created but unused if quotas were not enabled. Let's delete the
TODO line.
Reviewed-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: Junchao Sun <sunjunchao2870@gmail.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/qgroup.h')
-rw-r--r-- | fs/btrfs/qgroup.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/btrfs/qgroup.h b/fs/btrfs/qgroup.h index 2cf27716a377..7c535710efa5 100644 --- a/fs/btrfs/qgroup.h +++ b/fs/btrfs/qgroup.h @@ -123,7 +123,6 @@ struct btrfs_inode; /* * Record a dirty extent, and info qgroup to update quota on it - * TODO: Use kmem cache to alloc it. */ struct btrfs_qgroup_extent_record { struct rb_node node; |