Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 284358
b: refs/heads/master
c: 2ccd4f4
h: refs/heads/master
v: v3
  • Loading branch information
Sasha Levin authored and Linus Torvalds committed Jan 13, 2012
1 parent e353d69 commit 3b1b6f0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 888a214dc4c65e1486ef7d3ac6b0cf93ae3cc2c7
refs/heads/master: 2ccd4f4d4737b37e21dd92c8c584c23cd87740a2
2 changes: 1 addition & 1 deletion trunk/fs/pipe.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 3b1b6f0

Please sign in to comment.