]> 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)
commit78e1c06ae4b78d30f252c69d563a9c9b8cef28ad
tree4d807da88a6486e72bd3bf78706e125ac370e715
parent15d0ce3eb0655e10df2ddfa64a450c0a47892a49
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