Whamcloud - gitweb
Branch HEAD
authorscjody <scjody>
Thu, 18 Oct 2007 01:21:51 +0000 (01:21 +0000)
committerscjody <scjody>
Thu, 18 Oct 2007 01:21:51 +0000 (01:21 +0000)
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

index 6f69082..4fd43af 100644 (file)
@@ -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);