]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - drivers/block/pktcdvd.c
Merge branch 'akpm-current/current'
[karo-tx-linux.git] / drivers / block / pktcdvd.c
index cd813f9110bfc99314604fcf0ae93e58242ac413..2f477d45d6cfa42d586080db8c293d41406055ae 100644 (file)
@@ -704,14 +704,14 @@ static int pkt_generic_packet(struct pktcdvd_device *pd, struct packet_command *
        int ret = 0;
 
        rq = blk_get_request(q, (cgc->data_direction == CGC_DATA_WRITE) ?
-                            WRITE : READ, __GFP_WAIT);
+                            WRITE : READ, __GFP_RECLAIM);
        if (IS_ERR(rq))
                return PTR_ERR(rq);
        blk_rq_set_block_pc(rq);
 
        if (cgc->buflen) {
                ret = blk_rq_map_kern(q, rq, cgc->buffer, cgc->buflen,
-                                     __GFP_WAIT);
+                                     __GFP_RECLAIM);
                if (ret)
                        goto out;
        }