lkml.org 
[lkml]   [2000]   [Feb]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject2.3.46-pre5 compile error [drivers/block/ll_rw_blk.c]
Date
Hi,

linux/drivers/block/ll_rw_blk.c does not compile in 2.3.46-pre5
(worked in pre4), it seems like the problem is comes from the
elevator latency...

>> gcc -D__KERNEL__ -I/usr/src/redhat/BUILD/linux/include -D__SMP__ -Wall \
-Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing \
-pipe -m386 -DCPU=386 -DEXPORT_SYMTAB -c ll_rw_blk.c
ll_rw_blk.c: In function `blk_init_queue':
ll_rw_blk.c:256: structure has no member named `back_merges_fn'

>> find ./linux -type f | xargs egrep back_merges_fn

only turns up that one line, so the following is safe?

--- linux/drivers/block/ll_rw_blk.c.orig Wed Feb 16 18:34:21 2000
+++ linux/drivers/block/ll_rw_blk.c Wed Feb 16 18:34:41 2000
@@ -253,7 +253,6 @@
INIT_LIST_HEAD(&q->queue_head);
q->elevator = ELEVATOR_DEFAULTS;
q->request_fn = rfn;
- q->back_merges_fn = ll_back_merge_fn;
q->front_merge_fn = ll_front_merge_fn;
q->merge_requests_fn = ll_merge_requests_fn;
q->make_request_fn = NULL;
--
\Peter.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:56    [W:0.416 / U:0.384 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site