X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=block%2Fblk-ioc.c;h=012f065ac8e248d4e42485a7ef9a728692bb43a1;hb=406e2c48cf716411c07aecf2a0e5331ae9521efe;hp=e34df7c9fc367048de2c9e669a70291922467ba9;hpb=bdc08942897f6be33d00bb659761516f4652836d;p=pandora-kernel.git diff --git a/block/blk-ioc.c b/block/blk-ioc.c index e34df7c9fc36..012f065ac8e2 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;