Whamcloud - gitweb
LU-16356 hsm: add running ref to the coordinator
[fs/lustre-release.git] / lustre / include / uapi / linux / lustre / lustre_disk.h
index 94978ff..a097bcf 100644 (file)
@@ -255,8 +255,6 @@ enum nodemap_idx_type {
        NODEMAP_GLOBAL_IDX = 15,        /* stores nodemap activation status */
 };
 
-#define LUSTRE_NODEMAP_NAME_LENGTH     16
-
 /* lu_nodemap flags */
 enum nm_flag_bits {
        NM_FL_ALLOW_ROOT_ACCESS = 0x1,
@@ -406,6 +404,11 @@ enum scrub_param {
        SP_DRYRUN       = 0x0002,
 };
 
+#ifdef __KERNEL__
+/* v6.2-rc5-72-g5e6a51787fef kernel APIs need type to be guid_t */
+#define uuid_le        guid_t
+#endif
+
 struct scrub_file {
        uuid_le sf_uuid;                    /* 128-bit uuid for volume */
        __u64   sf_flags;                   /* see 'enum scrub_flags' */