X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Fosp%2Fosp_dev.c;fp=lustre%2Fosp%2Fosp_dev.c;h=0cb080f5bced579e795df96c4c4d8a34aa4bf3e5;hb=110fbf9f76006d240751f2902c4017ba84adc6ca;hp=4f520b7903c01c3780f270e225df97a94a2a8c56;hpb=c8d81a1d1d82fede40ae95924aca12bc5e55426d;p=fs%2Flustre-release.git diff --git a/lustre/osp/osp_dev.c b/lustre/osp/osp_dev.c index 4f520b7..0cb080f 100644 --- a/lustre/osp/osp_dev.c +++ b/lustre/osp/osp_dev.c @@ -934,7 +934,7 @@ out: RETURN(rc); } -const struct dt_device_operations osp_dt_ops = { +static const struct dt_device_operations osp_dt_ops = { .dt_statfs = osp_statfs, .dt_sync = osp_sync, .dt_trans_create = osp_trans_create, @@ -1843,7 +1843,7 @@ struct lu_context_key osp_txn_key = { }; LU_TYPE_INIT_FINI(osp, &osp_thread_key, &osp_txn_key); -static struct lu_device_type_operations osp_device_type_ops = { +static const struct lu_device_type_operations osp_device_type_ops = { .ldto_init = osp_type_init, .ldto_fini = osp_type_fini,