X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Fosc%2Fosc_request.c;h=28874eb1b4031174360448172f701b40cae19e92;hb=35fe4c696dd0faadc9405c19c68f0dd56aa5bb01;hp=b71705e72ad3dc4c35f2ddabc114937df12bb63a;hpb=9c6d90191a7d7685d98aee7fb49ff6c23e3956ff;p=fs%2Flustre-release.git diff --git a/lustre/osc/osc_request.c b/lustre/osc/osc_request.c index b71705e..28874eb 100644 --- a/lustre/osc/osc_request.c +++ b/lustre/osc/osc_request.c @@ -3087,7 +3087,7 @@ static int osc_process_config(struct obd_device *obd, obd_count len, void *buf) return osc_process_config_base(obd, buf); } -struct obd_ops osc_obd_ops = { +static struct obd_ops osc_obd_ops = { .o_owner = THIS_MODULE, .o_setup = osc_setup, .o_precleanup = osc_precleanup, @@ -3116,10 +3116,7 @@ struct obd_ops osc_obd_ops = { .o_quotacheck = osc_quotacheck, }; -extern struct lu_kmem_descr osc_caches[]; -extern struct lock_class_key osc_ast_guard_class; - -int __init osc_init(void) +static int __init osc_init(void) { bool enable_proc = true; struct obd_type *type;