#include <lustre_req_layout.h>
#include <lustre_sec.h>
+extern int (*tgt_lfsck_in_notify)(const struct lu_env *env,
+ struct dt_device *key,
+ struct lfsck_request *lr);
+
struct tx_arg;
typedef int (*tx_exec_func_t)(const struct lu_env *env, struct thandle *th,
struct tx_arg *ta);
struct thandle_exec_args {
struct thandle *ta_handle;
struct dt_device *ta_dev;
- int ta_err;
struct tx_arg ta_args[TX_MAX_OPS];
+ int ta_err;
int ta_argno; /* used args */
};
struct dt_object *tti_dt_object;
} update;
} tti_u;
+ struct lfsck_request tti_lr;
};
extern struct lu_context_key tgt_thread_key;