Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
On Wed, Mar 24, 2004 at 02:32:23PM +0100, Philipp Reisner wrote: > I have put it into CVS now. (Use cvs update -d to get the new directory.) > > Check it out, and tell me what is stupid about it :) It's okay. I prefer the full include/linux just so userspace tools can be compiled against a patched kernel tree and not require the out-of-kernel-tree module sources. But since that's a special case, no big deal. I'll write a script to generate a kernel-tree patch. It looks like a few other changes didn't quite make it in, though. I've attached the two missed pieces. -- Kees Cook Open Source Development Lab kees at osdl.org -------------- next part -------------- diff -x CVS -uNrp drbd/drbd/drbd_int.h drbd-0.7_pre2/drbd/drbd_int.h --- drbd/drbd/drbd_int.h 2004-03-24 10:41:14.000000000 -0800 +++ drbd-0.7_pre2/drbd/drbd_int.h 2004-03-17 15:34:34.000000000 -0800 @@ -192,10 +192,12 @@ extern void drbd_assert_breakpoint(drbd_ # define UNLOCK_SIGMASK(task,flags) spin_unlock_irqrestore(&task->sighand->siglock, flags) # define RECALC_SIGPENDING(TSK) (recalc_sigpending_tsk(TSK)) +# ifndef MODULE // defined in drbd_main.c, // copied from redhat's kernel-2.4.20-13.9 kernel/signal.c // to avoid a recompile of the redhat kernel inline void recalc_sigpending_tsk(struct task_struct *t); +# endif #else # define LOCK_SIGMASK(task,flags) spin_lock_irqsave(&task->sigmask_lock, flags) diff -x CVS -uNrp drbd/drbd.spec drbd-0.7_pre2/drbd.spec --- drbd/drbd.spec 2003-10-21 01:58:42.000000000 -0700 +++ drbd-0.7_pre2/drbd.spec 2004-03-17 12:15:12.000000000 -0800 @@ -7,7 +7,7 @@ Vendor: DRBD License: GPL ExclusiveOS: linux Group: System Environment/Kernel -Packager: +Packager: Lars Ellenberg <l.g.e at web.de> Requires: kernel Provides: %{name} URL: http://www.drbd.org/