X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Flfsck%2Flfsck_internal.h;fp=lustre%2Flfsck%2Flfsck_internal.h;h=7217c60f73ed211801020123858711c8ae8868c4;hb=68cd9825d5a428af7ba38dcb6e1357af514a7fa3;hp=92928919b5d96a3219d72f9a7cdb5ae45104c007;hpb=c5b90540731f13c37e6ad62c194ebef6725608a7;p=fs%2Flustre-release.git diff --git a/lustre/lfsck/lfsck_internal.h b/lustre/lfsck/lfsck_internal.h index 9292891..7217c60 100644 --- a/lustre/lfsck/lfsck_internal.h +++ b/lustre/lfsck/lfsck_internal.h @@ -552,7 +552,7 @@ struct lfsck_component { struct lfsck_instance *lc_lfsck; struct dt_object *lc_obj; struct lfsck_sub_trace_obj lc_sub_trace_objs[LFSCK_STF_COUNT]; - struct lfsck_operations *lc_ops; + const struct lfsck_operations *lc_ops; void *lc_file_ram; void *lc_file_disk; void *lc_data; @@ -849,7 +849,7 @@ struct lfsck_assistant_data { struct ptlrpc_thread lad_thread; struct task_struct *lad_task; - struct lfsck_assistant_operations *lad_ops; + const struct lfsck_assistant_operations *lad_ops; struct cfs_bitmap *lad_bitmap; @@ -960,7 +960,7 @@ void lfsck_control_speed(struct lfsck_instance *lfsck); void lfsck_control_speed_by_self(struct lfsck_component *com); void lfsck_thread_args_fini(struct lfsck_thread_args *lta); struct lfsck_assistant_data * -lfsck_assistant_data_init(struct lfsck_assistant_operations *lao, +lfsck_assistant_data_init(const struct lfsck_assistant_operations *lao, const char *name); struct lfsck_assistant_object * lfsck_assistant_object_init(const struct lu_env *env, const struct lu_fid *fid,