diff options
author | Qu Wenruo <wqu@suse.com> | 2019-11-05 09:35:35 +0800 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2019-11-18 17:51:50 +0100 |
commit | d49a2ddb1568d533ef3b77841a3ea1ff5bfa8b98 (patch) | |
tree | 6f86031fd5bc66c684ebf0ea5b3447fb0c52c1c1 /crypto/ecdh_helper.c | |
parent | ffb9e0f05fab5f7fe62c5d6964825e59e91be0db (diff) | |
download | linux-stable-d49a2ddb1568d533ef3b77841a3ea1ff5bfa8b98.tar.gz linux-stable-d49a2ddb1568d533ef3b77841a3ea1ff5bfa8b98.tar.bz2 linux-stable-d49a2ddb1568d533ef3b77841a3ea1ff5bfa8b98.zip |
btrfs: block-group: Reuse the item key from caller of read_one_block_group()
For read_one_block_group(), its only caller has already got the item key
to search next block group item.
So we can use that key directly without doing our own convertion on
stack.
Also, since that key used in btrfs_read_block_groups() is vital for
block group item search, add 'const' keyword for that parameter to
prevent read_one_block_group() to modify it.
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 'crypto/ecdh_helper.c')
0 files changed, 0 insertions, 0 deletions