projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
72f4650
)
fs/bio-integrity.c: return -ENOMEM on kmalloc failure
author
Andrew Morton
<akpm@linux-foundation.org>
Mon, 23 Aug 2010 11:36:20 +0000
(13:36 +0200)
committer
Jens Axboe
<jaxboe@fusionio.com>
Mon, 23 Aug 2010 11:36:59 +0000
(13:36 +0200)
Cc: David Rientjes <rientjes@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
fs/bio-integrity.c
patch
|
blob
|
history
diff --git
a/fs/bio-integrity.c
b/fs/bio-integrity.c
index
a8f4cc6
..
4d0ff5e
100644
(file)
--- a/
fs/bio-integrity.c
+++ b/
fs/bio-integrity.c
@@
-416,7
+416,7
@@
int bio_integrity_prep(struct bio *bio)
buf = kmalloc(len, GFP_NOIO | q->bounce_gfp);
if (unlikely(buf == NULL)) {
printk(KERN_ERR "could not allocate integrity buffer\n");
- return -E
IO
;
+ return -E
NOMEM
;
}
end = (((unsigned long) buf) + len + PAGE_SIZE - 1) >> PAGE_SHIFT;