* GPL HEADER END
*/
/*
- * Copyright (c) 2012, 2016, Intel Corporation.
+ * Copyright (c) 2012, 2017, Intel Corporation.
*/
/*
* lustre/target/tgt_internal.h
#define _TG_INTERNAL_H
#include <lustre_net.h>
-#include <lustre/lustre_idl.h>
#include <lu_target.h>
#include <lustre_export.h>
#include <lustre_fid.h>
#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 thandle *th);
+extern int (*tgt_lfsck_in_notify_local)(const struct lu_env *env,
+ struct dt_device *key,
+ struct lfsck_req_local *lrl,
+ struct thandle *th);
/**
* Common data shared by tg-level handlers. This is allocated per-thread to
* reduce stack consumption.
struct dt_object *tti_dt_object;
struct l_wait_info tti_wait_info;
} update;
+ struct obd_statfs osfs; /* for obd_statfs() in OFD/MDT */
} tti_u;
- struct lfsck_request tti_lr;
+ struct lfsck_req_local tti_lrl;
struct dt_insert_rec tti_rec;
};