summaryrefslogtreecommitdiff
path: root/drivers/md/raid5.c
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2012-11-18 23:47:48 (GMT)
committerNeilBrown <neilb@suse.de>2012-11-19 23:27:37 (GMT)
commit5eff3c439d3478ba9e8ba5f8c0aaf6e6fadb6e58 (patch)
tree4e60271793978e8ee07f73360a2044a33a8d91de /drivers/md/raid5.c
parent35f9ac2dcec8f79d7059ce174fd7b7ee3290d620 (diff)
downloadlinux-fsl-qoriq-5eff3c439d3478ba9e8ba5f8c0aaf6e6fadb6e58.tar.xz
md: make sure everything is freed when dm-raid stops an array.
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 <majianpeng@gmail.com> Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'drivers/md/raid5.c')
0 files changed, 0 insertions, 0 deletions