]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: update the comment for submit_extent_page()
authorQu Wenruo <wqu@suse.com>
Tue, 13 Sep 2022 05:31:12 +0000 (13:31 +0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 26 Sep 2022 10:28:07 +0000 (12:28 +0200)
commit814b6f9158847767f53e3e5e5b620bc572ecaf91
tree1d23a4e892c5ddb9e2e22278d805f20e158c3db4
parentd6921739449f229de73671d666d384dd2be44729
btrfs: update the comment for submit_extent_page()

Since commit 390ed29b817e ("btrfs: refactor submit_extent_page() to make
bio and its flag tracing easier"), we are using bio_ctrl structure to
replace some of arguments of submit_extent_page().

But unfortunately that commit didn't update the comment for
submit_extent_page(), thus some arguments are stale like:

- bio_ret
- mirror_num
  Those are all contained in bio_ctrl now.

- prev_bio_flags
  We no longer use this flag to determine if we can merge bios.

Update the comment for submit_extent_page() to keep it up-to-date.

Reviewed-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: Qu Wenruo <wqu@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/extent_io.c