From 84833ab1ff5570b0400963066f1bdf7820b01a96 Mon Sep 17 00:00:00 2001
From: scjody <scjody>
Date: Thu, 18 Oct 2007 01:21:51 +0000
Subject: [PATCH] Branch HEAD

Report a patchless kernel if client patches are missing, since that's
what we really care about for testing purposes.

b=12460
i=adilger
---
 lustre/obdclass/linux/linux-module.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lustre/obdclass/linux/linux-module.c b/lustre/obdclass/linux/linux-module.c
index 6f69082edd..4fd43aff7e 100644
--- a/lustre/obdclass/linux/linux-module.c
+++ b/lustre/obdclass/linux/linux-module.c
@@ -222,7 +222,7 @@ int obd_proc_read_version(char *page, char **start, off_t off, int count,
                           int *eof, void *data)
 {
         *eof = 1;
-#ifdef LUSTRE_KERNEL_VERSION
+#ifdef HAVE_VFS_INTENT_PATCHES
         return snprintf(page, count, "lustre: %s\nkernel: %u\nbuild:  %s\n",
                         LUSTRE_VERSION_STRING, LUSTRE_KERNEL_VERSION,
                         BUILD_VERSION);
-- 
GitLab