]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - block/cfq-iosched.c
mm: remove annotation of gfp_mask in add_to_swap
[karo-tx-linux.git] / block / cfq-iosched.c
index 99ac4304d711e093867040d49ace530e832876db..ef2f72d4243407ccfec220c867028f28b013b751 100644 (file)
@@ -1282,7 +1282,7 @@ static void cfq_dispatch_request(struct cfq_data *cfqd, struct cfq_queue *cfqq)
        if (!cfqd->active_cic) {
                struct cfq_io_context *cic = RQ_CIC(rq);
 
-               atomic_inc(&cic->ioc->refcount);
+               atomic_long_inc(&cic->ioc->refcount);
                cfqd->active_cic = cic;
        }
 }