X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Finclude%2Flustre_lfsck.h;h=b3a7e2ef1442f91e17402ac88b92a8c3a3bf0ffe;hb=9ff2d957982160103b5d885c9a532ad45bdf8d4d;hp=635aa21d4ebcfb8b9cbf19afdb7f7f74714cd158;hpb=e8812867e8c6c9eb62174b370cb818985e3d2180;p=fs%2Flustre-release.git diff --git a/lustre/include/lustre_lfsck.h b/lustre/include/lustre_lfsck.h index 635aa21..b3a7e2e 100644 --- a/lustre/include/lustre_lfsck.h +++ b/lustre/include/lustre_lfsck.h @@ -144,7 +144,7 @@ int lfsck_start(const struct lu_env *env, struct dt_device *key, int lfsck_stop(const struct lu_env *env, struct dt_device *key, struct lfsck_stop *stop); int lfsck_in_notify(const struct lu_env *env, struct dt_device *key, - struct lfsck_request *lr); + struct lfsck_request *lr, struct thandle *th); int lfsck_query(const struct lu_env *env, struct dt_device *key, struct lfsck_request *lr); @@ -156,12 +156,13 @@ int lfsck_set_windows(struct dt_device *key, int val); int lfsck_dump(struct seq_file *m, struct dt_device *key, enum lfsck_type type); static inline void lfsck_pack_rfa(struct lfsck_request *lr, - const struct lu_fid *fid) + const struct lu_fid *fid, + __u32 event, __u16 com) { memset(lr, 0, sizeof(*lr)); - lr->lr_event = LE_FID_ACCESSED; - lr->lr_active = LFSCK_TYPE_LAYOUT; lr->lr_fid = *fid; + lr->lr_event = event; + lr->lr_active = com; } #endif /* _LUSTRE_LFSCK_H */