|
@@ -416,7 +416,7 @@ int bio_integrity_prep(struct bio *bio)
|
|
buf = kmalloc(len, GFP_NOIO | q->bounce_gfp);
|
|
buf = kmalloc(len, GFP_NOIO | q->bounce_gfp);
|
|
if (unlikely(buf == NULL)) {
|
|
if (unlikely(buf == NULL)) {
|
|
printk(KERN_ERR "could not allocate integrity buffer\n");
|
|
printk(KERN_ERR "could not allocate integrity buffer\n");
|
|
- return -EIO;
|
|
|
|
|
|
+ return -ENOMEM;
|
|
}
|
|
}
|
|
|
|
|
|
end = (((unsigned long) buf) + len + PAGE_SIZE - 1) >> PAGE_SHIFT;
|
|
end = (((unsigned long) buf) + len + PAGE_SIZE - 1) >> PAGE_SHIFT;
|