diff --git a/src/afs/LINUX/osi_vfsops.c b/src/afs/LINUX/osi_vfsops.c index 6c3f8ce9f6..66470d615c 100644 --- a/src/afs/LINUX/osi_vfsops.c +++ b/src/afs/LINUX/osi_vfsops.c @@ -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;