diff --git a/lustre/obdclass/linux/linux-module.c b/lustre/obdclass/linux/linux-module.c index 6f69082eddad90c73055ca03943a4dc4414cb18d..4fd43aff7e4a0254763ce3aae5c301ace4116488 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);