commit | faa7a4e3e03889267f66a98d85434b4ff7dd0087 | [log] [tgz] |
---|---|---|
author | Oleg Drokin <green@linuxhacker.ru> | Mon Jul 06 12:48:41 2015 -0400 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Jul 13 19:47:19 2015 -0700 |
tree | 5364a12c5a8371cab5b6247103a6d7a180dfca54 | |
parent | 6a491f2b80f2806221ba3a5a3e26fbe945f82d83 [diff] |
staging/lustre/ldlm: In ldlm_pools_fini make sure there was init first. It turns out if you call ldlm_pools_fini without completing the ldlm_pools_init, then attempt to unregister not yet registered shrinkers makes the kernel very unhappy. So make sure we have them registered first. Signed-off-by: Oleg Drokin <green@linuxhacker.ru> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>