Files
linux/fs
Qu Wenruo 00c865b60b btrfs: make add_pending_csums() to take an ordered extent as parameter
The structure btrfs_ordered_extent has a lot of list heads for different
purposes, passing a random list_head pointer is never a good idea as if
the wrong list is passed in, the type casting along with the fs will be
screwed up.

Instead pass the btrfs_ordered_extent pointer, and grab the csum_list
inside add_pending_csums() to make it a little safer.

Since we're here, also update the comments to follow the current style.

Reviewed-by: Filipe Manana <fdmanana@suse.com>
Signed-off-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
2026-04-07 18:55:56 +02:00
..
2026-02-27 15:42:14 -05:00
2026-01-02 13:43:41 -05:00
2026-03-26 14:25:23 +01:00
2025-11-28 12:42:31 +01:00
2026-01-12 16:52:09 +01:00
2026-03-19 11:18:01 +01:00
2026-01-12 16:52:09 +01:00