From: Junchao Sun Date: Tue, 28 May 2024 06:23:43 +0000 (+0800) Subject: btrfs: qgroup: delete a TODO about using kmem cache to allocate structures X-Git-Tag: microblaze-v6.13~452^2~103 X-Git-Url: http://git.monstr.eu/?a=commitdiff_plain;h=a56b79523483c04862d478687d888038720a1bb4;p=linux-2.6-microblaze.git 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 Signed-off-by: Junchao Sun Reviewed-by: David Sterba Signed-off-by: David Sterba --- 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;