mirror of
https://git.openafs.org/openafs.git
synced 2025-01-22 08:50:17 +00:00
Properly release GLOCK when trying to mount AFS a second time.
This commit is contained in:
parent
30c69dae28
commit
905b71014b
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user