(3/5) Remove unused parameters from _allocate()
PATCH 1/1 (3/5) Remove unused parameters from _allocate()
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.
Thanks,
Signature · 8 lines
Jun'ichi Nomura, NEC Corporation of America -------------- next part -------------- A non-text attachment was scrubbed... Name: lvm2-allocate-remove-unused.patch Type: text/x-patch Size: 1387 bytes Desc: not available URL: <http://listman.redhat.com/archives/lvm-devel/attachments/20070821/71780ef3/attachment.bin>
PATCH 1/1 (3/5) Remove unused parameters from _allocate()
Quoted 5 lines · Jun'ichi Nomura
This patch removes unused 'stripes', 'mirrors', 'status' and 'segtype' parameters from
_allocate()inlib/metadata/lv_manip.c. 'stripes' and 'mirrors' can be found in structalloc_handle. 'status' and 'segtype' aren't there but if future code requires them, they can be embedded in structalloc_handle, too.
They date from before that function was split into two and are no longer needed.
Alasdair
Signature · 1 line
agk at redhat.com