Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 328962
b: refs/heads/master
c: ab72a70
h: refs/heads/master
v: v3
  • Loading branch information
Al Viro committed Sep 27, 2012
1 parent cee6e7f commit 3fc2ad7
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: 5b249b1b07c42c61d0c53b8ab4fad026e39a9be9
refs/heads/master: ab72a7028c0cc22731dc60beceb595b321d1cdb9
2 changes: 1 addition & 1 deletion trunk/kernel/events/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -6264,7 +6264,7 @@ SYSCALL_DEFINE5(perf_event_open,
if ((flags & PERF_FLAG_PID_CGROUP) && (pid == -1 || cpu == -1))
return -EINVAL;

event_fd = get_unused_fd_flags(O_RDWR);
event_fd = get_unused_fd();
if (event_fd < 0)
return event_fd;

Expand Down

0 comments on commit 3fc2ad7

Please sign in to comment.