From: Oleg Drokin Date: Fri, 12 Oct 2018 03:56:52 +0000 (-0400) Subject: LU-11511 fix build breakage with LMV_HASH_FLAG_DEAD undeclared X-Git-Tag: 2.12.0-RC1~187 X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=commitdiff_plain;h=5f4ca70b2aa45174907d3924b63bd953180674fe 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 --- 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