]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - kernel/cgroup.c
xen-balloon: fix up sysfs issues
[linux-2.6-omap-h63xx.git] / kernel / cgroup.c
index 66ec9fd21e0c8206b1f89e16119b513fdc3a8896..657f8f8d93a5fa947e79d0b8567a9c5288f425d9 100644 (file)
@@ -45,6 +45,7 @@
 #include <linux/delayacct.h>
 #include <linux/cgroupstats.h>
 #include <linux/hash.h>
+#include <linux/namei.h>
 
 #include <asm/atomic.h>
 
@@ -1529,7 +1530,7 @@ static int cgroup_seqfile_show(struct seq_file *m, void *arg)
        return cft->read_seq_string(state->cgroup, cft, m);
 }
 
-int cgroup_seqfile_release(struct inode *inode, struct file *file)
+static int cgroup_seqfile_release(struct inode *inode, struct file *file)
 {
        struct seq_file *seq = file->private_data;
        kfree(seq->private);