All of lore.kernel.org
 help / color / mirror / Atom feed
* [LVM2 PATCH] (3/5) Remove unused parameters from _allocate()
@ 2007-08-21 21:25 Jun'ichi Nomura
  2007-08-22 14:45 ` Alasdair G Kergon
  0 siblings, 1 reply; 2+ messages in thread
From: Jun'ichi Nomura @ 2007-08-21 21:25 UTC (permalink / raw)
  To: lvm-devel

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,
-- 
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>

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [LVM2 PATCH] (3/5) Remove unused parameters from _allocate()
  2007-08-21 21:25 [LVM2 PATCH] (3/5) Remove unused parameters from _allocate() Jun'ichi Nomura
@ 2007-08-22 14:45 ` Alasdair G Kergon
  0 siblings, 0 replies; 2+ messages in thread
From: Alasdair G Kergon @ 2007-08-22 14:45 UTC (permalink / raw)
  To: lvm-devel

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



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-08-22 14:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-21 21:25 [LVM2 PATCH] (3/5) Remove unused parameters from _allocate() Jun'ichi Nomura
2007-08-22 14:45 ` Alasdair G Kergon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.