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

osc_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:50 +03:00 • committed by Greg Kroah-Hartman
commit 3be21f345e