From 5f4ca70b2aa45174907d3924b63bd953180674fe Mon Sep 17 00:00:00 2001 From: Oleg Drokin Date: Thu, 11 Oct 2018 23:56:52 -0400 Subject: [PATCH] LU-11511 fix build breakage with LMV_HASH_FLAG_DEAD undeclared It was being deprecated with 2.11.56, but actually 2.8 was waaay too recent to kill it like that, let's postpone this until 2.12.53 for now and definitely let's fix it by then. Change-Id: Ibfc2cd858803e7802536041775fb09ae6960f211 Signed-off-by: Oleg Drokin Reviewed-on: https://review.whamcloud.com/33356 Tested-by: Jenkins --- lustre/include/uapi/linux/lustre/lustre_idl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lustre/include/uapi/linux/lustre/lustre_idl.h b/lustre/include/uapi/linux/lustre/lustre_idl.h index 47c82ee..8dafb71 100644 --- a/lustre/include/uapi/linux/lustre/lustre_idl.h +++ b/lustre/include/uapi/linux/lustre/lustre_idl.h @@ -2190,7 +2190,7 @@ struct lmv_mds_md_v1 { #define LMV_HASH_FLAG_MIGRATION 0x80000000 -#if LUSTRE_VERSION_CODE < OBD_OCD_VERSION(2, 11, 56, 0) +#if LUSTRE_VERSION_CODE < OBD_OCD_VERSION(2, 12, 53, 0) /* Since lustre 2.8, this flag will not be needed, instead this DEAD * and orphan flags will be stored in LMA (see LMAI_ORPHAN) * Keep this flag just for LFSCK, because it still might meet such -- 1.8.3.1