diff options
| author | Poul-Henning Kamp <phk@FreeBSD.org> | 2004-07-28 20:21:04 +0000 |
|---|---|---|
| committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2004-07-28 20:21:04 +0000 |
| commit | d634f693166bbd2aa258c0180cb79dc397978c08 (patch) | |
| tree | bb9b337be34857e1f2678255e52c991d2c62a0a3 /sys/isofs/cd9660 | |
| parent | 56e0670fdc7a52b9984a90f6a748ba010c0b79aa (diff) | |
Notes
Diffstat (limited to 'sys/isofs/cd9660')
| -rw-r--r-- | sys/isofs/cd9660/cd9660_vfsops.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/isofs/cd9660/cd9660_vfsops.c b/sys/isofs/cd9660/cd9660_vfsops.c index 10e3bc48c65d..7c8344934d7f 100644 --- a/sys/isofs/cd9660/cd9660_vfsops.c +++ b/sys/isofs/cd9660/cd9660_vfsops.c @@ -144,6 +144,7 @@ iso_mountroot(mp, td) struct thread *td; { struct iso_args args; + struct vnode *rootvp; int error; if ((error = bdevvp(rootdev, &rootvp))) { @@ -297,7 +298,7 @@ iso_mountfs(devvp, mp, td, argp) */ if ((error = vfs_mountedon(devvp))) return error; - if (vcount(devvp) > 1 && devvp != rootvp) + if (vcount(devvp) > 1) return EBUSY; if ((error = vinvalbuf(devvp, V_SAVE, td->td_ucred, td, 0, 0))) return (error); |
