From: Filipe Manana Date: Mon, 4 Nov 2024 11:50:14 +0000 (+0000) Subject: btrfs: update stale comment for struct btrfs_delayed_ref_node::add_list X-Git-Tag: v6.13-rc1~213^2~8 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=dd0896e77d89686c0736485c5ed4d115e99eaa0c;p=thirdparty%2Flinux.git btrfs: update stale comment for struct btrfs_delayed_ref_node::add_list The comment refers to a list in the respective delayed ref head that no longer exists (ref_list), it was replaced with a rbtree (ref_tree) in commit 0e0adbcfdc90 ("btrfs: track refs in a rb_tree instead of a list"). So update the stale comment to refer to the rbtree instead of the old list. Reviewed-by: Johannes Thumshirn Signed-off-by: Filipe Manana Reviewed-by: David Sterba Signed-off-by: David Sterba --- diff --git a/fs/btrfs/delayed-ref.h b/fs/btrfs/delayed-ref.h index 4cb7d4475808c..611fb3388f82b 100644 --- a/fs/btrfs/delayed-ref.h +++ b/fs/btrfs/delayed-ref.h @@ -61,7 +61,8 @@ struct btrfs_delayed_ref_node { /* * If action is BTRFS_ADD_DELAYED_REF, also link this node to * ref_head->ref_add_list, then we do not need to iterate the - * whole ref_head->ref_list to find BTRFS_ADD_DELAYED_REF nodes. + * refs rbtree in the corresponding delayed ref head + * (struct btrfs_delayed_ref_head::ref_tree). */ struct list_head add_list;