Distributed Replicated Block Device (DRBD) development
 help / color / mirror / Atom feed
* [Drbd-dev] Patch for an up-to-date script/patch-kernel
@ 2009-08-16 16:00 Guillaume Plessis
  2009-08-18 20:59 ` Philipp Reisner
  0 siblings, 1 reply; 4+ messages in thread
From: Guillaume Plessis @ 2009-08-16 16:00 UTC (permalink / raw)
  To: drbd-dev


[-- Attachment #1.1: Type: text/plain, Size: 375 bytes --]

Hello DRBD-devs,
I encountered problems building a DRBD 8.3.2 patch with a 2.6.30.4 kernel
(missing lru_cache.h, drbd_vli.h, drbd_tracing.c and drbd_tracing.h).

You'll find as attachement a patch that fixes the patch-building process by
filling "include_linux" and "drbd_source" with the good values.

I hope it will be useful.

Keep up the good work.

--
Guillaume Plessis

[-- Attachment #1.2: Type: text/html, Size: 541 bytes --]

[-- Attachment #2: 83-patch-kernel_fix.patch --]
[-- Type: application/octet-stream, Size: 750 bytes --]

diff -urN drbd-8.3.2.orig/scripts/patch-kernel drbd-8.3.2/scripts/patch-kernel
--- drbd-8.3.2.orig/scripts/patch-kernel	2009-06-09 11:33:03.000000000 +0000
+++ drbd-8.3.2/scripts/patch-kernel	2009-08-16 14:22:25.000000000 +0000
@@ -90,11 +90,11 @@
 #
 # Pull in the base drbd source
 #
-include_linux="drbd.h drbd_limits.h drbd_nl.h drbd_tag_magic.h"
+include_linux="drbd.h drbd_limits.h drbd_nl.h drbd_tag_magic.h lru_cache.h"
 drbd_source="drbd_actlog.c drbd_bitmap.c drbd_buildtag.c
 	drbd_wrappers.h drbd_int.h drbd_main.c drbd_nl.c drbd_proc.c
 	drbd_receiver.c drbd_req.c drbd_req.h drbd_strings.c drbd_worker.c
-	lru_cache.c lru_cache.h"
+	lru_cache.c drbd_vli.h drbd_tracing.c drbd_tracing.h"
 
 # clean it first
 make -s -C $DRBD/drbd clean

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-08-28 16:49 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-16 16:00 [Drbd-dev] Patch for an up-to-date script/patch-kernel Guillaume Plessis
2009-08-18 20:59 ` Philipp Reisner
2009-08-18 21:16   ` Guillaume Plessis
2009-08-18 21:24     ` Anthony.D'Ambrosio

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox