On Wed, 12 Jan 2011 14:54:50 +0100 Adam Kwolek <adam.kwolek@xxxxxxxxx> wrote: > When process_update() replaces memory for bigger devices, old memory areas are collected in a list > and has to be assigned in to pointer in update for later release. > > List created from old devices is created and attached to space_list for later releasing. > > Signed-off-by: Adam Kwolek <adam.kwolek@xxxxxxxxx> > --- > > super-intel.c | 2 ++ > 1 files changed, 2 insertions(+), 0 deletions(-) > > diff --git a/super-intel.c b/super-intel.c > index de41702..c3ff365 100644 > --- a/super-intel.c > +++ b/super-intel.c > @@ -5744,6 +5744,8 @@ static int apply_reshape_container_disks_update(struct imsm_update_reshape *u, > *sp = tofree; > tofree = sp; > } > + if (tofree) > + *space_list = tofree; > ret_val = 1; > > update_reshape_exit: Applied, thanks, NeilBrown -- To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html