Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 54669
b: refs/heads/master
c: 09f0892
h: refs/heads/master
i:
  54667: fe0d5a5
v: v3
  • Loading branch information
Martin Peschke authored and Linus Torvalds committed May 8, 2007
1 parent c2bfe0f commit 5dbd099
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: 5a0c6a0d1ae97473291f479ef64573d6b2c0e2d5
refs/heads/master: 09f0892ec7f8068ba1d1fcef4d1fca23ec96e0dd
9 changes: 1 addition & 8 deletions trunk/fs/proc/proc_misc.c
Original file line number Diff line number Diff line change
Expand Up @@ -428,18 +428,11 @@ static int slabstats_open(struct inode *inode, struct file *file)
return ret;
}

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

static const struct file_operations proc_slabstats_operations = {
.open = slabstats_open,
.read = seq_read,
.llseek = seq_lseek,
.release = slabstats_release,
.release = seq_release_private,
};
#endif
#endif
Expand Down

0 comments on commit 5dbd099

Please sign in to comment.