projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'kmemleak' of git://git.kernel.org/pub/scm/linux/kernel/git/cmarinas/linux
[cascardo/linux.git]
/
fs
/
pipe.c
diff --git
a/fs/pipe.c
b/fs/pipe.c
index
f0e485d
..
a932ced
100644
(file)
--- a/
fs/pipe.c
+++ b/
fs/pipe.c
@@
-1137,7
+1137,7
@@
static long pipe_set_size(struct pipe_inode_info *pipe, unsigned long nr_pages)
if (nr_pages < pipe->nrbufs)
return -EBUSY;
- bufs = kcalloc(nr_pages, sizeof(
struct pipe_buffer), GFP_KERNEL
);
+ bufs = kcalloc(nr_pages, sizeof(
*bufs), GFP_KERNEL | __GFP_NOWARN
);
if (unlikely(!bufs))
return -ENOMEM;