]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: alloc_chunk: improve chunk size variable name
authorHans van Kranenburg <hans.van.kranenburg@mendix.com>
Thu, 4 Oct 2018 21:24:39 +0000 (23:24 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 17 Dec 2018 13:51:33 +0000 (14:51 +0100)
commit58db819c6b57cc2a6e41632eee03d56155ba9918
tree4d807da88a6486e72bd3bf78706e125ac370e715
parent5aa4933929c6c8a34d9117f2ae6a9ea3e3ce26b5
btrfs: alloc_chunk: improve chunk size variable name

The variable num_bytes is really a way too generic name for a variable
in this function. There are a dozen other variables that hold a number
of bytes as value.

Give it a name that actually describes what it does, which is holding
the size of the chunk that we're allocating.

Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: Hans van Kranenburg <hans.van.kranenburg@mendix.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/volumes.c