X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=fs%2Fafs%2Fproc.c;h=86463ec9ccb496cea5907ec1de2075c982d4849d;hb=97bf2856c6014879bd04983a3e9dfcdac1e7fe85;hp=db58488e07acada828c0cbd250ca0e3d969dee43;hpb=16c70f8c1b54b61c3b951b6fb220df250fe09b32;p=linux-2.6.git diff --git a/fs/afs/proc.c b/fs/afs/proc.c index db58488e0..86463ec9c 100644 --- a/fs/afs/proc.c +++ b/fs/afs/proc.c @@ -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;