From: Thomas Veerman Date: Fri, 28 Oct 2011 12:49:47 +0000 (+0000) Subject: PFS is also a system proc X-Git-Tag: v3.2.0~283 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/verify-sign/verify.pl?a=commitdiff_plain;h=65e54c23e3e2a55fcfbaadd78fb95e09ebee2210;p=minix.git PFS is also a system proc --- diff --git a/servers/avfs/mount.c b/servers/avfs/mount.c index 362a2d4ec..02ed26752 100644 --- a/servers/avfs/mount.c +++ b/servers/avfs/mount.c @@ -381,6 +381,7 @@ PUBLIC void mount_pfs(void) dev_t dev; struct vmnt *vmp; + struct fproc *rfp; if ((dev = find_free_nonedev()) == NO_DEV) panic("VFS: no nonedev to initialize PFS"); @@ -393,6 +394,9 @@ PUBLIC void mount_pfs(void) vmp->m_dev = dev; vmp->m_fs_e = PFS_PROC_NR; strcpy(vmp->m_label, "pfs"); + + rfp = &fproc[_ENDPOINT_P(PFS_PROC_NR)]; + rfp->fp_flags |= FP_SYS_PROC; /* PFS is a driver and an FS */ } /*===========================================================================*