For mounting a UFS filesystem, call nmount() directly, instead of having

special logic which called mount() in a separate mount_ufs() function.
This commit is contained in:
Craig Rodrigues 2005-11-21 22:07:54 +00:00
parent a4104d1c3b
commit b1e6b7123d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=152668

View File

@ -507,9 +507,7 @@ mountfs(const char *vfstype, const char *spec, const char *name, int flags,
return (0);
}
if (strcmp(vfstype, "ufs")==0) {
ret = mount_ufs(argc, argv);
} else if (use_mountprog(vfstype)) {
if (use_mountprog(vfstype)) {
ret = exec_mountprog(name, execname, argv);
} else {
ret = mount_fs(vfstype, argc, argv);