From 900d29807dafc6f0cf9a730ae1f46bcca5d00f3d Mon Sep 17 00:00:00 2001 From: wollman Date: Thu, 22 Sep 1994 19:38:41 +0000 Subject: More loadable VFS changes: - Make a number of filesystems work again when they are statically compiled (blush) - FIFOs are no longer optional; ``options FIFO'' removed from distributed config files. --- sys/kern/vfs_syscalls.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'sys/kern/vfs_syscalls.c') diff --git a/sys/kern/vfs_syscalls.c b/sys/kern/vfs_syscalls.c index 93b0191..4607112 100644 --- a/sys/kern/vfs_syscalls.c +++ b/sys/kern/vfs_syscalls.c @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * @(#)vfs_syscalls.c 8.13 (Berkeley) 4/15/94 - * $Id: vfs_syscalls.c,v 1.6 1994/09/02 10:23:43 davidg Exp $ + * $Id: vfs_syscalls.c,v 1.7 1994/09/21 03:46:49 wollman Exp $ */ #include @@ -768,9 +768,6 @@ mkfifo(p, uap, retval) int error; struct nameidata nd; -#ifndef FIFO - return (EOPNOTSUPP); -#else NDINIT(&nd, CREATE, LOCKPARENT, UIO_USERSPACE, uap->path, p); if (error = namei(&nd)) return (error); @@ -788,7 +785,6 @@ mkfifo(p, uap, retval) vattr.va_mode = (uap->mode & ALLPERMS) &~ p->p_fd->fd_cmask; LEASE_CHECK(nd.ni_dvp, p, p->p_ucred, LEASE_WRITE); return (VOP_MKNOD(nd.ni_dvp, &nd.ni_vp, &nd.ni_cnd, &vattr)); -#endif /* FIFO */ } /* -- cgit v1.1