summaryrefslogtreecommitdiff
path: root/sys/adosfs
diff options
context:
space:
mode:
Diffstat (limited to 'sys/adosfs')
-rw-r--r--sys/adosfs/advfsops.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/adosfs/advfsops.c b/sys/adosfs/advfsops.c
index f4508f7a029..93c61772029 100644
--- a/sys/adosfs/advfsops.c
+++ b/sys/adosfs/advfsops.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: advfsops.c,v 1.18 2001/02/20 01:50:08 assar Exp $ */
+/* $OpenBSD: advfsops.c,v 1.19 2001/05/16 12:48:31 ho Exp $ */
/* $NetBSD: advfsops.c,v 1.24 1996/12/22 10:10:12 cgd Exp $ */
/*
@@ -243,8 +243,7 @@ adosfs_mountfs(devvp, mp, p)
/* allocate and load bitmap, set free space */
amp->bitmap = malloc(((amp->numblks + 31) / 32) * sizeof(*amp->bitmap),
M_ADOSFSBITMAP, M_WAITOK);
- if (amp->bitmap)
- adosfs_loadbitmap(amp);
+ adosfs_loadbitmap(amp);
if (mp->mnt_flag & MNT_RDONLY && amp->bitmap) {
/*
* Don't need the bitmap any more if it's read-only.