]> git.ipfire.org Git - thirdparty/mdadm.git/commit
DDF: ensure dl->devname is freed when processing a 'delete device' update.
authorNeilBrown <neilb@suse.de>
Wed, 21 May 2014 03:27:54 +0000 (13:27 +1000)
committerNeilBrown <neilb@suse.de>
Wed, 21 May 2014 03:27:54 +0000 (13:27 +1000)
commitde9107744bff1d59103858db06b2ba1811cb683f
tree3c6c2ea48ce71f617b32e63d5338ec7309632974
parent30da0fa89b5452c147a7df7fb2397827c5ee17e8
DDF: ensure dl->devname is freed when processing a 'delete device' update.

As this code runs in 'monitor' it cannot just free memory,
it must add it to a list for 'manager' to free.
Fortunate update->space_list exists for just this purpose.
dl->devname might be small, so put it in update->space and
put dl in update->space_list.

Signed-off-by: NeilBrown <neilb@suse.de>
super-ddf.c