Skip to contentSkip to conversation

(3/5) Remove unused parameters from _allocate()

PATCH New Jun'ichi Nomura 2 participants 2 messages Aug 21, 2007 – Aug 22, 2007

lore
Share & tools
lore
#0 lore raw

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>
#1 lore raw

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() 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

Signature · 1 line
agk at redhat.com