]> www.infradead.org Git - users/hch/configfs.git/commitdiff
btrfs: qgroup: delete a TODO about using kmem cache to allocate structures
authorJunchao Sun <sunjunchao2870@gmail.com>
Tue, 28 May 2024 06:23:43 +0000 (14:23 +0800)
committerDavid Sterba <dsterba@suse.com>
Thu, 11 Jul 2024 13:33:22 +0000 (15:33 +0200)
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>
fs/btrfs/qgroup.h

index 2cf27716a3774c9d6a7834c4ef361d7403a86f5a..7c535710efa59ad0fa277cbd3e67de314cebcca4 100644 (file)
@@ -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;