proc: switch struct proc_dir_entry::count to refcount
[sfrench/cifs-2.6.git] / fs / proc / root.c
index 9e99204a0704053e12278c166ba617cba244b891..76c996457ff9e5a4246df5af6d27d871ebaa1ac6 100644 (file)
@@ -199,7 +199,7 @@ struct proc_dir_entry proc_root = {
        .namelen        = 5, 
        .mode           = S_IFDIR | S_IRUGO | S_IXUGO, 
        .nlink          = 2, 
-       .count          = ATOMIC_INIT(1),
+       .refcnt         = REFCOUNT_INIT(1),
        .proc_iops      = &proc_root_inode_operations, 
        .proc_fops      = &proc_root_operations,
        .parent         = &proc_root,