Skip to content

Commit

Permalink
btrfs: qgroup: delete a TODO about using kmem cache to allocate struc…
Browse files Browse the repository at this point in the history
…tures

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 <[email protected]>
Signed-off-by: Junchao Sun <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Signed-off-by: David Sterba <[email protected]>
  • Loading branch information
jc2870 authored and kdave committed May 28, 2024
1 parent c0558ba commit 975ed01
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion fs/btrfs/qgroup.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 975ed01

Please sign in to comment.