Re: [PATCH linux-2.6-block:master] block: fix try_module_get race in elevator_find

2005-08-01 Thread Jens Axboe
On Tue, Jul 26 2005, Tejun Heo wrote: > Hello, Jens. > > This patch removes try_module_get race in elevator_find. > try_module_get should always be called with the spinlock protecting > what the module init/cleanup routines register/unregister to held. In > the case of elevators, we should be h

[PATCH linux-2.6-block:master] block: fix try_module_get race in elevator_find

2005-07-26 Thread Tejun Heo
Hello, Jens. This patch removes try_module_get race in elevator_find. try_module_get should always be called with the spinlock protecting what the module init/cleanup routines register/unregister to held. In the case of elevators, we should be holding elv_list to avoid it going away between spi