Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 199891
b: refs/heads/master
c: 0191f86
h: refs/heads/master
i:
  199889: 2c6a17d
  199887: 50fae9b
v: v3
  • Loading branch information
Jens Axboe committed May 24, 2010
1 parent d8f99d6 commit b61d403
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: e36f724b4ae70e443a7d152929b60059cbfa1a26
refs/heads/master: 0191f8697bbdfefcd36e7b8dc3eeddfe82893e4b
2 changes: 1 addition & 1 deletion trunk/fs/pipe.c
Original file line number Diff line number Diff line change
Expand Up @@ -1170,7 +1170,7 @@ long pipe_fcntl(struct file *file, unsigned int cmd, unsigned long arg)
switch (cmd) {
case F_SETPIPE_SZ:
if (!capable(CAP_SYS_ADMIN) && arg > pipe_max_pages)
return -EINVAL;
return -EPERM;
/*
* The pipe needs to be at least 2 pages large to
* guarantee POSIX behaviour.
Expand Down

0 comments on commit b61d403

Please sign in to comment.