Skip to content
Commit 2f29df4f authored by Hans van Kranenburg's avatar Hans van Kranenburg Committed by David Sterba
Browse files

btrfs: alloc_chunk: do not refurbish num_bytes



The variable num_bytes is used to store the chunk length of the chunk
that we're allocating. Do not reuse it for something really different in
the same function.

Reviewed-by: default avatarNikolay Borisov <nborisov@suse.com>
Signed-off-by: default avatarHans van Kranenburg <hans.van.kranenburg@mendix.com>
Signed-off-by: default avatarDavid Sterba <dsterba@suse.com>
parent 3cd24c69
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment