btrfs: update comment for reservation of metadata space for delayed items
authorFilipe Manana <fdmanana@suse.com>
Mon, 28 Aug 2023 07:38:36 +0000 (08:38 +0100)
committerDavid Sterba <dsterba@suse.com>
Thu, 12 Oct 2023 14:44:02 +0000 (16:44 +0200)
commit01fc062bd0e6e0e06d09c7ce22dc51007dd1afa5
tree719d97611f731dc3569fe47ba92a3aeebb201993
parent401644852d0b2a278811de38081be23f74b5bb04
btrfs: update comment for reservation of metadata space for delayed items

The second comment at btrfs_delayed_item_reserve_metadata() refers to a
field named "index_items_size" of a delayed inode, however that field
does not exists - it existed in a previous patch version, but then it
split into the fields "curr_index_batch_size" and "index_item_leaves"
in the final patch version that was picked. So update the comment.

Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/delayed-inode.c