From b1e6b7123df683203bc0222322dbade3a88c12bb Mon Sep 17 00:00:00 2001 From: Craig Rodrigues Date: Mon, 21 Nov 2005 22:07:54 +0000 Subject: [PATCH] For mounting a UFS filesystem, call nmount() directly, instead of having special logic which called mount() in a separate mount_ufs() function. --- sbin/mount/mount.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sbin/mount/mount.c b/sbin/mount/mount.c index d95021676e60..89bc1cbda1d7 100644 --- a/sbin/mount/mount.c +++ b/sbin/mount/mount.c @@ -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);