X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=block%2Fblk-ioc.c;h=012f065ac8e248d4e42485a7ef9a728692bb43a1;hb=3d6eadcb5008beca1b289983ffd7771d1e947bac;hp=e34df7c9fc367048de2c9e669a70291922467ba9;hpb=85b80ebfa4384b8ea30cc1af9617db30319a9ccd;p=linux-2.6-block.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;