diff options
| author | Qu Wenruo <wqu@suse.com> | 2022-06-08 08:34:34 +0800 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2022-07-25 17:45:35 +0200 |
| commit | aee35e4bcc3029fc3be15f696043107125b7209f (patch) | |
| tree | f5e470f91f7f2f07e064c3a81a87ded615416f62 /scripts/patch-kernel | |
| parent | ef340fccbe982a14588ed15eb3a20b2e5b78a3e1 (diff) | |
btrfs: raid56: avoid double for loop inside alloc_rbio_essential_pages()
The double loop is just checking if the page for the vertical stripe
is allocated.
We can easily convert it to single loop and get rid of @stripe variable.
Signed-off-by: Qu Wenruo <wqu@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions
