Whamcloud - gitweb
LU-11511 fix build breakage with LMV_HASH_FLAG_DEAD undeclared 56/33356/2
authorOleg Drokin <green@whamcloud.com>
Fri, 12 Oct 2018 03:56:52 +0000 (23:56 -0400)
committerOleg Drokin <green@whamcloud.com>
Fri, 12 Oct 2018 04:33:03 +0000 (04:33 +0000)
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 <green@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/33356
Tested-by: Jenkins
lustre/include/uapi/linux/lustre/lustre_idl.h

index 47c82ee..8dafb71 100644 (file)
@@ -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