staging/lustre/ldlm: Unregister ldlm namespace from sysfs on free
authorOleg Drokin <green@linuxhacker.ru>
Wed, 15 Jul 2015 16:21:16 +0000 (12:21 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 16 Jul 2015 17:12:45 +0000 (10:12 -0700)
commit9c7e397c98d646a3a23ffd304def1750be916803
tree63e5d6fd7413c0516debd576a81c1e40aa177d4f
parent4bdc190a929c6f99732a9a0ff03dba7b0137d4bd
staging/lustre/ldlm: Unregister ldlm namespace from sysfs on free

ldlm_namespace_sysfs_unregister needs to be called ldlm_namespace_free_post
so that we don't have this dangling object there after the namespace
has disappeared.

Signed-off-by: Oleg Drokin <green@linuxhacker.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/ldlm/ldlm_resource.c