staging/lustre/osc: extern declare osc_caches in a header
authorOleg Drokin <green@linuxhacker.ru>
Wed, 7 Dec 2016 22:41:31 +0000 (17:41 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 3 Jan 2017 14:01:20 +0000 (15:01 +0100)
commitf62427b8590519ca6f9dd783c58927caef319200
treeba6952bcfce16d1a1a216c93bbd1dc0775878db1
parentd445048b4af949311657fd7cc1bbe104954beb38
staging/lustre/osc: extern declare osc_caches in a header

This avoids frowned upon extern in the C file, and also
shuts down a sparse warning of
drivers/staging/lustre/lustre/osc/osc_dev.c:55:22: warning: symbol 'osc_caches' was not declared. Should it be static?

Signed-off-by: Oleg Drokin <green@linuxhacker.ru>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/osc/osc_internal.h
drivers/staging/lustre/lustre/osc/osc_request.c