git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b76539
)
md: centralise all freeing of an 'mddev' in 'md_free'
author
NeilBrown
<neilb@suse.de>
Thu, 8 Jan 2009 21:31:09 +0000
(08:31 +1100)
committer
NeilBrown
<neilb@suse.de>
Thu, 8 Jan 2009 21:31:09 +0000
(08:31 +1100)
md_free is the .release handler for the md kobj_type.
So it makes sense to release all the objects referenced by
the mddev in there, rather than just prior to calling kobject_put
for what we think is the last time.
Signed-off-by: NeilBrown <neilb@suse.de>
No differences found