2.3.46-pre5 compile error [drivers/block/ll_rw_blk.c]

From: Peter Blomgren (blomgren@monster.stanford.edu)
Date: Wed Feb 16 2000 - 21:51:54 EST


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/



This archive was generated by hypermail 2b29 : Wed Feb 23 2000 - 21:00:17 EST