diff options
Diffstat (limited to 'kernel/cgroup.c')
-rw-r--r-- | kernel/cgroup.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/cgroup.c b/kernel/cgroup.c index 66ec9fd21e0c..657f8f8d93a5 100644 --- a/kernel/cgroup.c +++ b/kernel/cgroup.c | |||
@@ -45,6 +45,7 @@ | |||
45 | #include <linux/delayacct.h> | 45 | #include <linux/delayacct.h> |
46 | #include <linux/cgroupstats.h> | 46 | #include <linux/cgroupstats.h> |
47 | #include <linux/hash.h> | 47 | #include <linux/hash.h> |
48 | #include <linux/namei.h> | ||
48 | 49 | ||
49 | #include <asm/atomic.h> | 50 | #include <asm/atomic.h> |
50 | 51 | ||
@@ -1529,7 +1530,7 @@ static int cgroup_seqfile_show(struct seq_file *m, void *arg) | |||
1529 | return cft->read_seq_string(state->cgroup, cft, m); | 1530 | return cft->read_seq_string(state->cgroup, cft, m); |
1530 | } | 1531 | } |
1531 | 1532 | ||
1532 | int cgroup_seqfile_release(struct inode *inode, struct file *file) | 1533 | static int cgroup_seqfile_release(struct inode *inode, struct file *file) |
1533 | { | 1534 | { |
1534 | struct seq_file *seq = file->private_data; | 1535 | struct seq_file *seq = file->private_data; |
1535 | kfree(seq->private); | 1536 | kfree(seq->private); |