-
-int lfsck_dump(struct dt_device *key, void *buf, int len, enum lfsck_type type);
+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 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,
+ __u32 event, __u16 com)
+{
+ memset(lr, 0, sizeof(*lr));
+ lr->lr_fid = *fid;
+ lr->lr_event = event;
+ lr->lr_active = com;
+}