If you have compiled an I/O-Scheduler as module you cannot unload it, because of a memory-error. Signed-off-by: Dirk Gerdes [email protected] --- linux-2.6.14-mm2-pagecache/block/elevator.c 2005-11-17 12:37:10.000000000 +0100 +++ linux-2.6.14-mm2-pagecache_fix/block/elevator.c 2005-11-17 14:05:41.000000000 +0100 @@ -656,7 +656,7 @@ struct io_context *ioc = p->io_context; struct cfq_io_context *cic; - if (ioc->cic_root.rb_node != NULL) { + if (ioc != NULL && ioc->cic_root.rb_node != NULL) { cic = rb_entry(rb_first(&ioc->cic_root), struct cfq_io_context, rb_node); cic->exit(ioc); cic->dtor(ioc); - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- References:
- [PATCH linux-2.6-block:master 00/05] blk: generic dispatch queue
- From: Tejun Heo <[email protected]>
- Re: [PATCH linux-2.6-block:master 02/05] blk: update ioscheds to use generic dispatch queue
- From: Tejun Heo <[email protected]>
- Re: [PATCH linux-2.6-block:master 02/05] blk: update ioscheds to use generic dispatch queue
- From: Jens Axboe <[email protected]>
- Re: [PATCH linux-2.6-block:master 02/05] blk: update ioscheds to use generic dispatch queue
- From: Tejun Heo <[email protected]>
- Re: [PATCH linux-2.6-block:master 02/05] blk: update ioscheds to use generic dispatch queue
- From: Jens Axboe <[email protected]>
- Re: [PATCH linux-2.6-block:master 02/05] blk: update ioscheds to use generic dispatch queue
- From: Tejun Heo <[email protected]>
- Re: [PATCH linux-2.6-block:master 02/05] blk: update ioscheds to use generic dispatch queue
- From: Jens Axboe <[email protected]>
- Re: [PATCH linux-2.6-block:master 02/05] blk: update ioscheds to use generic dispatch queue
- From: Tejun Heo <[email protected]>
- [PATCH linux-2.6-block:master 00/05] blk: generic dispatch queue
- Prev by Date: [PATCH 10/10] kexec: increase max segment limit
- Next by Date: Re: hware clock left bad after a system failure
- Previous by thread: Re: [PATCH linux-2.6-block:master 02/05] blk: update ioscheds to use generic dispatch queue
- Next by thread: Re: [PATCH linux-2.6-14-mm2] block: problem unloading I/O-Scheduler Module
- Index(es):