]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/proc/root.c
Hibernation: Introduce begin() and end() callbacks
[linux-2.6-omap-h63xx.git] / fs / proc / root.c
index 1f86bb860e049888f96d438acf68d3ea53a25188..81f99e691f99014eeaefb8cefa0c582719074a39 100644 (file)
@@ -98,7 +98,7 @@ static void proc_kill_sb(struct super_block *sb)
        put_pid_ns(ns);
 }
 
-struct file_system_type proc_fs_type = {
+static struct file_system_type proc_fs_type = {
        .name           = "proc",
        .get_sb         = proc_get_sb,
        .kill_sb        = proc_kill_sb,
@@ -207,6 +207,7 @@ struct proc_dir_entry proc_root = {
        .name           = "/proc",
        .mode           = S_IFDIR | S_IRUGO | S_IXUGO, 
        .nlink          = 2, 
+       .count          = ATOMIC_INIT(1),
        .proc_iops      = &proc_root_inode_operations, 
        .proc_fops      = &proc_root_operations,
        .parent         = &proc_root,