summaryrefslogtreecommitdiffstats
path: root/fs/block_dev.c
diff options
context:
space:
mode:
authorNeilBrown2009-01-08 22:31:09 +0100
committerNeilBrown2009-01-08 22:31:09 +0100
commita21d15042d8cd736caf82c2bac564f3f93f3d017 (patch)
treed430b6ae126e9bc8139d1c491b80a18cc86b27f1 /fs/block_dev.c
parentmd: move allocation of ->queue from mddev_find to md_probe (diff)
downloadkernel-qcow2-linux-a21d15042d8cd736caf82c2bac564f3f93f3d017.tar.gz
kernel-qcow2-linux-a21d15042d8cd736caf82c2bac564f3f93f3d017.tar.xz
kernel-qcow2-linux-a21d15042d8cd736caf82c2bac564f3f93f3d017.zip
md: centralise all freeing of an 'mddev' in 'md_free'
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>
Diffstat (limited to 'fs/block_dev.c')
0 files changed, 0 insertions, 0 deletions