X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Fmdt%2Fmdt_internal.h;h=8829027e45639cbf2df34481348ee87c55bcaf06;hb=91144acb3dc1120c00797269afa621c94cb64e1e;hp=95c8a24ea7ff9f2ebae59d8a6af5f9d88a419a5c;hpb=b50bb830f92e87da9bfdc84d14e4f3f78c80c9ac;p=fs%2Flustre-release.git diff --git a/lustre/mdt/mdt_internal.h b/lustre/mdt/mdt_internal.h index 95c8a24..8829027 100644 --- a/lustre/mdt/mdt_internal.h +++ b/lustre/mdt/mdt_internal.h @@ -420,7 +420,7 @@ struct mdt_thread_info { /* Ops object filename */ struct lu_name mti_name; - /* per-thread values, can be re-used */ + /* per-thread values, can be re-used, may be vmalloc'd */ void *mti_big_lmm; int mti_big_lmmsize; /* big_lmm buffer was used and must be used in reply */ @@ -807,9 +807,6 @@ int mdt_agent_record_add(const struct lu_env *env, struct mdt_device *mdt, int mdt_agent_record_update(const struct lu_env *env, struct mdt_device *mdt, __u64 *cookies, int cookies_count, enum agent_req_status status); -int mdt_agent_llog_update_rec(const struct lu_env *env, struct mdt_device *mdt, - struct llog_handle *llh, - struct llog_agent_req_rec *larr); /* mdt/mdt_hsm_cdt_agent.c */ extern const struct file_operations mdt_hsm_agent_fops; @@ -867,8 +864,9 @@ int mdt_hsm_cdt_fini(struct mdt_device *mdt); int mdt_hsm_cdt_wakeup(struct mdt_device *mdt); /* coordinator control /proc interface */ -ssize_t mdt_hsm_cdt_control_seq_write(struct file *file, const char *buffer, - size_t count, loff_t *off); +ssize_t mdt_hsm_cdt_control_seq_write(struct file *file, + const char __user *buffer, + size_t count, loff_t *off); int mdt_hsm_cdt_control_seq_show(struct seq_file *m, void *data); int hsm_cdt_procfs_init(struct mdt_device *mdt); void hsm_cdt_procfs_fini(struct mdt_device *mdt);