drivers: lustre: ldlm: check result of register_shrinker()

ldlm_pools_init() does not check result of register_shrinker()
which was tagged __must_check recently, reported by sparse.

Signed-off-by: Aliaksei Karaliou <akaraliou.dev@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Aliaksei Karaliou 2017-12-07 10:25:52 +03:00 • committed by Greg Kroah-Hartman
commit d85db086cf