]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
Properly release GLOCK when trying to mount AFS a second time.
authorNickolai Zeldovich <kolya@mit.edu>
Tue, 29 Jan 2002 17:26:26 +0000 (17:26 +0000)
committerNickolai Zeldovich <kolya@mit.edu>
Tue, 29 Jan 2002 17:26:26 +0000 (17:26 +0000)
src/afs/LINUX/osi_vfsops.c

index 6c3f8ce9f6091a6545bd3858abbb9c585424a84a..66470d615c4f7f8df901c2818d777e10eb42efd4 100644 (file)
@@ -78,6 +78,7 @@ struct super_block *afs_read_super(struct super_block *sb, void *data,
     AFS_GLOCK();
     if (afs_was_mounted) {
        printf("You must reload the AFS kernel extensions before remounting AFS.\n");
+       AFS_GUNLOCK();
        return NULL;
     }
     afs_was_mounted = 1;