summaryrefslogtreecommitdiff
path: root/sys/miscfs/umapfs
diff options
context:
space:
mode:
authorMike Pechkin <mpech@cvs.openbsd.org>2004-05-28 15:41:42 +0000
committerMike Pechkin <mpech@cvs.openbsd.org>2004-05-28 15:41:42 +0000
commitadafa0df66b58bc233e145ce9a687c8848c31ed8 (patch)
tree0e5d0e6e64f5dd0e7ceedf798e91648261f31bda /sys/miscfs/umapfs
parent17d2c85d9d3efc20e6eff3b12f905ed70ba24983 (diff)
fix for: !(flags && FORCECLOSE)
hackers@ ok
Diffstat (limited to 'sys/miscfs/umapfs')
-rw-r--r--sys/miscfs/umapfs/umap_vfsops.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/miscfs/umapfs/umap_vfsops.c b/sys/miscfs/umapfs/umap_vfsops.c
index c7aed6aaadf..4e91cd0abf0 100644
--- a/sys/miscfs/umapfs/umap_vfsops.c
+++ b/sys/miscfs/umapfs/umap_vfsops.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: umap_vfsops.c,v 1.26 2004/05/20 18:32:38 tedu Exp $ */
+/* $OpenBSD: umap_vfsops.c,v 1.27 2004/05/28 15:41:41 mpech Exp $ */
/* $NetBSD: umap_vfsops.c,v 1.35 2002/09/21 18:09:31 christos Exp $ */
/*
@@ -269,7 +269,7 @@ umapfs_unmount(mp, mntflags, p)
if (mntinvalbuf(mp, 1))
return (EBUSY);
#endif
- if (rootvp->v_usecount > 1 && !(flags && FORCECLOSE))
+ if (rootvp->v_usecount > 1 && !(flags & FORCECLOSE))
return (EBUSY);
if ((error = vflush(mp, rootvp, flags)) != 0)
return (error);