Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 205372
b: refs/heads/master
c: 729419f
h: refs/heads/master
v: v3
  • Loading branch information
Arnd Bergmann authored and Robert Richter committed Jul 26, 2010
1 parent e011adf commit 19c0b6f
Show file tree
Hide file tree
Showing 2 changed files with 3 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: b12eab1a796a306caef7046b21a76efa35f5f489
refs/heads/master: 729419f0090601406abe714c5f8872a3bd53ff68
3 changes: 2 additions & 1 deletion trunk/drivers/oprofile/event_buffer.c
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ static int event_buffer_open(struct inode *inode, struct file *file)
* echo 1 >/dev/oprofile/enable
*/

return 0;
return nonseekable_open(inode, file);

fail:
dcookie_unregister(file->private_data);
Expand Down Expand Up @@ -205,4 +205,5 @@ const struct file_operations event_buffer_fops = {
.open = event_buffer_open,
.release = event_buffer_release,
.read = event_buffer_read,
.llseek = no_llseek,
};

0 comments on commit 19c0b6f

Please sign in to comment.