X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Finclude%2Flustre_lfsck.h;h=635aa21d4ebcfb8b9cbf19afdb7f7f74714cd158;hb=01def2b635ff0b7bacde158d9124334c42cd5d2b;hp=0d6f6669e24223f854145c53b2e477e8ef5732d2;hpb=730a204e73667403e299936fafa0d3eb45099709;p=fs%2Flustre-release.git diff --git a/lustre/include/lustre_lfsck.h b/lustre/include/lustre_lfsck.h index 0d6f666..635aa21 100644 --- a/lustre/include/lustre_lfsck.h +++ b/lustre/include/lustre_lfsck.h @@ -148,19 +148,19 @@ int lfsck_in_notify(const struct lu_env *env, struct dt_device *key, int lfsck_query(const struct lu_env *env, struct dt_device *key, struct lfsck_request *lr); -int lfsck_get_speed(struct dt_device *key, void *buf, int len); +int lfsck_get_speed(struct seq_file *m, struct dt_device *key); int lfsck_set_speed(struct dt_device *key, int val); -int lfsck_get_windows(struct dt_device *key, void *buf, int len); +int lfsck_get_windows(struct seq_file *m, struct dt_device *key); int lfsck_set_windows(struct dt_device *key, int val); -int lfsck_dump(struct dt_device *key, void *buf, int len, enum lfsck_type type); +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) { memset(lr, 0, sizeof(*lr)); lr->lr_event = LE_FID_ACCESSED; - lr->lr_active = LT_LAYOUT; + lr->lr_active = LFSCK_TYPE_LAYOUT; lr->lr_fid = *fid; }