On Fri, 2012-11-30 at 22:23 +1100, NeilBrown wrote: > On Fri, 30 Nov 2012 05:21:05 -0500 (EST) CAI Qian <[email protected]> wrote: > > > md_stop() would stop an array, but not free various attached > > data structures. > > For internal arrays, these are freed later in do_md_stop() or > > mddev_put(), but they don't apply for dm-raid arrays. > > So get md_stop() to free them, and only all it from dm-raid. > > For internal arrays we now call __md_stop. > > > > Reported-by: majianpeng <[email protected]> > > Signed-off-by: NeilBrown <[email protected]> > > > > Upstream-ID: 5eff3c439d3478ba9e8ba5f8c0aaf6e6fadb6e58 > > Stable-trees: 3.6.x > > Signed-off-by: CAI Qian <[email protected]> [...] > I wasn't going to submit this to -stable as it is just a minor memory leak. > No crash, no data corruption. > > Up to Greg if he takes it I guess.
Oh, in that case I'll drop this from the queue for 3.2. Ben. -- Ben Hutchings It is easier to change the specification to fit the program than vice versa.
signature.asc
Description: This is a digitally signed message part
