OT: DRBD compile error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The reason I'm asking this question on this list is because it should be
an easy answer for anyone who knows C.  I'm not a programmer and don't
know the first thing about C.

I'm having the compile time error thats listed in the DRBD FAQ here,
http://faq.drbd.org/.  It says to apply this patch below, but I'm not a
programmer so I'm a little unsure on how to do this exactly.  My guess is
that I copy this into a text file and use the patch command to patch the
drbd source?  Maybe a command similar to this, "patch -p0 < patchfile",
but I'm really not sure.

--- drbd_syncer.c       Wed Oct 16 06:19:17 2002
+++ drbd_syncer.c.orig  Wed Oct 16 06:18:27 2002
@@ -311,7 +311,7 @@
 #define SPEED_MIN (mdev->conf.sync_rate_min)
 #define SYNC_MARKS      10
 #define SYNC_MARK_STEP  (3*HZ)
-#if defined(MAX_RT_PRIO) || defined(CONFIG_MAX_RT_PRIO)
+#if 1
/* this should work for the O(1) scheduler */
 #define drbd_set_user_nice(current,x) set_user_nice(current,(x))  #else

btw, I'm running Red Hat Advanced Server 2.1.

Thanks,
Chris



-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux