Whamcloud - gitweb
LU-9727 lustre: implement CL_OPEN for Changelogs
[fs/lustre-release.git] / lustre / include / lustre_lfsck.h
index 8dabe50..9aeba0d 100644 (file)
@@ -20,7 +20,7 @@
  * GPL HEADER END
  */
 /*
- * Copyright (c) 2013, 2016, Intel Corporation.
+ * Copyright (c) 2013, 2017, Intel Corporation.
  */
 /*
  * lustre/include/lustre_lfsck.h
@@ -33,7 +33,7 @@
 #ifndef _LUSTRE_LFSCK_H
 # define _LUSTRE_LFSCK_H
 
-#include <lustre/lustre_lfsck_user.h>
+#include <uapi/linux/lustre/lustre_lfsck_user.h>
 #include <lustre_dlm.h>
 #include <lu_object.h>
 #include <dt_object.h>
@@ -67,6 +67,12 @@ struct lfsck_req_local {
        struct filter_fid lrl_ff_local;
 };
 
+struct lfsck_layout_dangling_key {
+       struct lu_fid   lldk_fid;
+       __u32           lldk_comp_id;
+       __u32           lldk_ea_off;
+};
+
 typedef int (*lfsck_out_notify)(const struct lu_env *env, void *data,
                                enum lfsck_events event);
 
@@ -121,5 +127,4 @@ static inline bool lovea_slot_is_dummy(const struct lov_ost_data_v1 *obj)
 
        return false;
 }
-
 #endif /* _LUSTRE_LFSCK_H */