Skip to content

Commit dd0896e

Browse files
fdmananakdave
authored andcommitted
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 0e0adbc ("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 <[email protected]> Signed-off-by: Filipe Manana <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
1 parent 6c83d15 commit dd0896e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

fs/btrfs/delayed-ref.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,8 @@ struct btrfs_delayed_ref_node {
6161
/*
6262
* If action is BTRFS_ADD_DELAYED_REF, also link this node to
6363
* ref_head->ref_add_list, then we do not need to iterate the
64-
* whole ref_head->ref_list to find BTRFS_ADD_DELAYED_REF nodes.
64+
* refs rbtree in the corresponding delayed ref head
65+
* (struct btrfs_delayed_ref_head::ref_tree).
6566
*/
6667
struct list_head add_list;
6768

0 commit comments

Comments
 (0)