From 56e65ce8219fefb5ea87e7cb7bb0d011b9aeac2e Mon Sep 17 00:00:00 2001 From: Filipe Manana Date: Mon, 15 Jun 2026 17:05:22 +0100 Subject: btrfs: send: fix comment for SEND_MAX_DIR_UTIMES_CACHE_SIZE The comment is wrong, because it's not about storing the ID of new directories that were already created, instead it's about storing utimes values for directories (both new and existing). The comment is wrong because it was copy pasted from SEND_MAX_DIR_CREATED_CACHE_SIZE, but forgot to update it afterwards. Reviewed-by: Johannes Thumshirn Reviewed-by: Daniel Vacek Signed-off-by: Filipe Manana Signed-off-by: David Sterba --- fs/btrfs/send.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'fs/btrfs') diff --git a/fs/btrfs/send.c b/fs/btrfs/send.c index 3ae480c7474b..d37c18f41545 100644 --- a/fs/btrfs/send.c +++ b/fs/btrfs/send.c @@ -130,10 +130,10 @@ static_assert(offsetof(struct backref_cache_entry, entry) == 0); #define SEND_MAX_DIR_CREATED_CACHE_SIZE 64 /* - * Max number of entries in the cache that stores directories that were already - * created. The cache uses raw struct btrfs_lru_cache_entry entries, so it uses - * at most 4096 bytes - sizeof(struct btrfs_lru_cache_entry) is 48 bytes, but - * the kmalloc-64 slab is used, so we get 4096 bytes (64 bytes * 64). + * Maximum number of entries in the cache that stores utimes values for directories. + * The cache uses raw struct btrfs_lru_cache_entry entries, so it uses at most + * 4096 bytes - sizeof(struct btrfs_lru_cache_entry) is 48 bytes, but the + * kmalloc-64 slab is used, so we get 4096 bytes (64 bytes * 64). */ #define SEND_MAX_DIR_UTIMES_CACHE_SIZE 64 -- cgit v1.2.3