]> git.hungrycats.org Git - linux/commitdiff
Fix up scsi_alloc_request in sr.c to take a GFP_ flag
authorJames Bottomley <jejb@raven.il.steeleye.com>
Wed, 3 Sep 2003 16:18:43 +0000 (11:18 -0500)
committerJames Bottomley <jejb@raven.il.steeleye.com>
Wed, 3 Sep 2003 16:18:43 +0000 (11:18 -0500)
drivers/scsi/sr.c

index bf6437572177655a941d65c8a9ca6a3176007508..089510b7a8198bb43dc186534af0025be1bbc99f 100644 (file)
@@ -713,7 +713,7 @@ static void get_capabilities(struct scsi_cd *cd)
        };
 
        /* allocate a request for the TEST_UNIT_READY */
-       SRpnt = scsi_allocate_request(cd->device);
+       SRpnt = scsi_allocate_request(cd->device, GFP_KERNEL);
        if (!SRpnt) {
                printk(KERN_WARNING "(get_capabilities:) Request allocation "
                       "failure.\n");