Whamcloud - gitweb
LU-8066 obd: collect all resource releasing for obj_type. 16/34716/4
authorNeilBrown <neilb@suse.com>
Wed, 5 Jun 2019 16:36:23 +0000 (12:36 -0400)
committerOleg Drokin <green@whamcloud.com>
Thu, 27 Jun 2019 21:33:33 +0000 (21:33 +0000)
commit907a82654245c20c83c4291ab1617c9c64340c30
treeca8d80a4b752ac1d8defd7fe80596ee30c48120f
parent90fd0cd449b9ae3fbff5a99e0edcf288799037c0
LU-8066 obd: collect all resource releasing for obj_type.

Now that obj_type is managed as a kobject, move all
the freeing and deregistering into class_sysfs_release().

Change-Id: I784287ea17e010206b5fa256c7a224d01085be92
Signed-off-by: NeilBrown <neilb@suse.com>
Reviewed-on: https://review.whamcloud.com/34716
Tested-by: Jenkins
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Petros Koutoupis <pkoutoupis@cray.com>
Reviewed-by: Shaun Tancheff <stancheff@cray.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/lod/lod_dev.c
lustre/mdd/mdd_lproc.c
lustre/obdclass/dt_object.c
lustre/obdclass/genops.c
lustre/osp/osp_dev.c