diff options
| author | Poul-Henning Kamp <phk@FreeBSD.org> | 2000-09-04 18:24:30 +0000 |
|---|---|---|
| committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2000-09-04 18:24:30 +0000 |
| commit | 7665e7202150bc35ed69999978d885b706f52086 (patch) | |
| tree | 8d8cc4625f13576a5962c8588486fe159563ef5b /sys/fs/devfs | |
| parent | 9acf7ab9bc20cfecdff21d907c8f8dd9ba68518a (diff) | |
Notes
Diffstat (limited to 'sys/fs/devfs')
| -rw-r--r-- | sys/fs/devfs/devfs_vfsops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/fs/devfs/devfs_vfsops.c b/sys/fs/devfs/devfs_vfsops.c index d2fdda7e209a..72f2630b9b6c 100644 --- a/sys/fs/devfs/devfs_vfsops.c +++ b/sys/fs/devfs/devfs_vfsops.c @@ -132,7 +132,7 @@ devfs_unmount(mp, mntflags, p) fmp = VFSTODEVFS(mp); if (mntflags & MNT_FORCE) flags |= FORCECLOSE; - if (rootvp->v_usecount > 2) + if (rootvp->v_usecount > 1) return (EBUSY); devfs_purge(fmp->dm_rootdir); error = vflush(mp, rootvp, flags); |
