X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=block%2Fblk-ioc.c;h=012f065ac8e248d4e42485a7ef9a728692bb43a1;hb=0595ee8a05836666b225e6bf003ede0da1e6e329;hp=e34df7c9fc367048de2c9e669a70291922467ba9;hpb=f8303dd3db57bd7ab2062985ad7a9e898a8ac423;p=linux-2.6-omap-h63xx.git diff --git a/block/blk-ioc.c b/block/blk-ioc.c index e34df7c9fc3..012f065ac8e 100644 --- a/block/blk-ioc.c +++ b/block/blk-ioc.c @@ -41,8 +41,8 @@ int put_io_context(struct io_context *ioc) rcu_read_lock(); if (ioc->aic && ioc->aic->dtor) ioc->aic->dtor(ioc->aic); - rcu_read_unlock(); cfq_dtor(ioc); + rcu_read_unlock(); kmem_cache_free(iocontext_cachep, ioc); return 1;