[lvm-devel] [LVM2 PATCH] (3/5) Remove unused parameters from _allocate()

Alasdair G Kergon agk at redhat.com
Wed Aug 22 14:45:05 UTC 2007


On Tue, Aug 21, 2007 at 05:25:08PM -0400, Jun'ichi Nomura wrote:
> This patch removes unused 'stripes', 'mirrors', 'status' and
> 'segtype' parameters from _allocate() in lib/metadata/lv_manip.c.
> 'stripes' and 'mirrors' can be found in struct alloc_handle.
> 'status' and 'segtype' aren't there but if future code requires them,
> they can be embedded in struct alloc_handle, too.
 
They date from before that function was split into two and are
no longer needed.

Alasdair
-- 
agk at redhat.com




More information about the lvm-devel mailing list