Whamcloud - gitweb
libext2fs: rename ext2_xattr_handle->length to capacity
authorTahsin Erdogan <tahsin@google.com>
Mon, 24 Jul 2017 01:25:32 +0000 (21:25 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 24 Jul 2017 01:25:32 +0000 (21:25 -0400)
commitc270f4ec6f1ab542a4c496a5f1aa59a0edc54c07
tree394208b9d064feac6b3aa406d3876ccf17f9efe6
parent0b4ffc2747fd51da903f2f5f083a762f0aafc37b
libext2fs: rename ext2_xattr_handle->length to capacity

ext2_xattr_handle has two fields 'count' and 'length' which
represent number of filled elements vs total element count.
They have close meanings so are easy to confuse, thus make code less
readable. Rename length to capacity.

Signed-off-by: Tahsin Erdogan <tahsin@google.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
lib/ext2fs/ext_attr.c