diff options
author | pjd <pjd@FreeBSD.org> | 2004-10-05 11:26:43 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2004-10-05 11:26:43 +0000 |
commit | c944ef39d68a10c3c36bd291586925beaf9312ae (patch) | |
tree | c1df97211054815f137a57618a80d955940caa3e /sys/ufs | |
parent | 3f28bf167b410b5d2330580b044126c343455717 (diff) | |
download | FreeBSD-src-c944ef39d68a10c3c36bd291586925beaf9312ae.zip FreeBSD-src-c944ef39d68a10c3c36bd291586925beaf9312ae.tar.gz |
Back out changes which were introduced to delay mounting root file system.
Those changes were made on gmirror needs, but now gmirror handles this
by itself.
Diffstat (limited to 'sys/ufs')
-rw-r--r-- | sys/ufs/ffs/ffs_vfsops.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/ufs/ffs/ffs_vfsops.c b/sys/ufs/ffs/ffs_vfsops.c index 224dba4..668b15f 100644 --- a/sys/ufs/ffs/ffs_vfsops.c +++ b/sys/ufs/ffs/ffs_vfsops.c @@ -161,8 +161,11 @@ ffs_omount(struct mount *mp, char *path, caddr_t data, struct thread *td) * Use NULL path to indicate we are mounting the root filesystem. */ if (path == NULL) { - if ((error = bdevvp(rootdev, &rootvp)) != 0) + if ((error = bdevvp(rootdev, &rootvp))) { + printf("ffs_mountroot: can't find rootvp\n"); return (error); + } + if ((error = ffs_mountfs(rootvp, mp, td)) != 0) return (error); return (0); |