X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Finclude%2Flclient.h;h=8c2ec3c01fac4c200132729c9fea54818f886573;hb=6fe18330660980fc4ec4fd4e960f5415e571a54e;hp=2eb242514c9300aa47ccc5207cd0214cba45a39c;hpb=422e5995808bee60407a78020825ab369e1449bd;p=fs%2Flustre-release.git diff --git a/lustre/include/lclient.h b/lustre/include/lclient.h index 2eb2425..8c2ec3c 100644 --- a/lustre/include/lclient.h +++ b/lustre/include/lclient.h @@ -136,6 +136,13 @@ static inline struct ccc_thread_info *ccc_env_info(const struct lu_env *env) return info; } +static inline struct cl_attr *ccc_env_thread_attr(const struct lu_env *env) +{ + struct cl_attr *attr = &ccc_env_info(env)->cti_attr; + memset(attr, 0, sizeof(*attr)); + return attr; +} + struct ccc_session { struct ccc_io cs_ios; }; @@ -383,7 +390,7 @@ __u16 ll_dirent_type_get(struct lu_dirent *ent); int cl_init_ea_size(struct obd_export *md_exp, struct obd_export *dt_exp); int cl_ocd_update(struct obd_device *host, struct obd_device *watched, - enum obd_notify_event ev, void *owner); + enum obd_notify_event ev, void *owner, void *data); struct ccc_grouplock { struct lu_env *cg_env;