Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 54668
b: refs/heads/master
c: 5a0c6a0
h: refs/heads/master
v: v3
  • Loading branch information
Martin Peschke authored and Linus Torvalds committed May 8, 2007
1 parent fe0d5a5 commit c2bfe0f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 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: 6272e2667965dfb5b59199f462cd0f001fb304a6
refs/heads/master: 5a0c6a0d1ae97473291f479ef64573d6b2c0e2d5
9 changes: 1 addition & 8 deletions trunk/kernel/kallsyms.c
Original file line number Diff line number Diff line change
Expand Up @@ -470,18 +470,11 @@ static int kallsyms_open(struct inode *inode, struct file *file)
return ret;
}

static int kallsyms_release(struct inode *inode, struct file *file)
{
struct seq_file *m = (struct seq_file *)file->private_data;
kfree(m->private);
return seq_release(inode, file);
}

static const struct file_operations kallsyms_operations = {
.open = kallsyms_open,
.read = seq_read,
.llseek = seq_lseek,
.release = kallsyms_release,
.release = seq_release_private,
};

static int __init kallsyms_init(void)
Expand Down

0 comments on commit c2bfe0f

Please sign in to comment.