fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git] / fs / afs / proc.c
index db58488..86463ec 100644 (file)
@@ -177,7 +177,6 @@ int afs_proc_init(void)
  */
 void afs_proc_cleanup(void)
 {
-       remove_proc_entry("rootcell", proc_afs);
        remove_proc_entry("cells", proc_afs);
 
        remove_proc_entry("fs/afs", NULL);
@@ -776,6 +775,7 @@ static int afs_proc_cell_servers_release(struct inode *inode,
  * first item
  */
 static void *afs_proc_cell_servers_start(struct seq_file *m, loff_t *_pos)
+       __acquires(m->private->sv_lock)
 {
        struct list_head *_p;
        struct afs_cell *cell = m->private;
@@ -824,6 +824,7 @@ static void *afs_proc_cell_servers_next(struct seq_file *p, void *v,
  * clean up after reading from the cells list
  */
 static void afs_proc_cell_servers_stop(struct seq_file *p, void *v)
+       __releases(p->private->sv_lock)
 {
        struct afs_cell *cell = p->private;