[DRBD-cvs] r1531 - trunk/scripts

svn at svn.drbd.org svn at svn.drbd.org
Mon Sep 6 11:41:44 CEST 2004


Author: lars
Date: 2004-09-06 11:41:41 +0200 (Mon, 06 Sep 2004)
New Revision: 1531

Modified:
   trunk/scripts/adjust_drbd_config_h.sh
Log:
oh well. redhat 2.4.20 already has mm_inline.h, but still defines the page_count in mm.h

Modified: trunk/scripts/adjust_drbd_config_h.sh
===================================================================
--- trunk/scripts/adjust_drbd_config_h.sh	2004-09-03 11:07:33 UTC (rev 1530)
+++ trunk/scripts/adjust_drbd_config_h.sh	2004-09-06 09:41:41 UTC (rev 1531)
@@ -61,7 +61,7 @@
   # 
 
   # do we have mm_inline, and need to include it explicitly?
-  if test -e $KDIR/include/linux/mm_inline.h ; then
+  if grep "#define *page_count" $KDIR/include/linux/mm_inline.h &> /dev/null ; then
     have_mm_inline_h=1
   else
     have_mm_inline_h=0



More information about the drbd-cvs mailing list