Whamcloud - gitweb
LU-11783 build: remove lustre_user.h deprecation warning
[fs/lustre-release.git] / lustre / include / lustre / lustre_user.h
index 72f58c7..9d8f5eb 100644 (file)
@@ -23,7 +23,7 @@
  * Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
  * Use is subject to license terms.
  *
- * Copyright (c) 2010, 2016, Intel Corporation.
+ * Copyright (c) 2010, 2017, Intel Corporation.
  */
 /*
  * This file is part of Lustre, http://www.lustre.org/
@@ -42,4 +42,7 @@
 
 #include <linux/lustre/lustre_user.h>
 
-#warning "Including lustre_user.h is deprecated. Include linux/lustre/lustre_user.h directly."
+/* Disable warning until 2.16 or 3.0, until new header is widely available.
+ * This gives apps time to move to the new header without spurious warnings.
+#warning "Including lustre/lustre_user.h is deprecated. Include linux/lustre/lustre_user.h instead."
+*/