From owner-cvs-sys Sun Dec 7 17:08:59 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id RAA10620 for cvs-sys-outgoing; Sun, 7 Dec 1997 17:08:59 -0800 (PST) (envelope-from owner-cvs-sys) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id RAA10489; Sun, 7 Dec 1997 17:08:06 -0800 (PST) (envelope-from sef@FreeBSD.org) From: Sean Eric Fagan Received: (from sef@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id RAA27587; Sun, 7 Dec 1997 17:06:38 -0800 (PST) Date: Sun, 7 Dec 1997 17:06:38 -0800 (PST) Message-Id: <199712080106.RAA27587@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/miscfs/procfs procfs_subr.c procfs_vfsops.c src/sys/kern kern_exit.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk sef 1997/12/07 17:06:37 PST Modified files: sys/miscfs/procfs procfs_subr.c procfs_vfsops.c sys/kern kern_exit.c Log: Use at_exit() to invoke procfs_exit() instead of calling it directly. Note that an unload facility should be used to call rm_at_exit() (if procfs is being loaded as an LKM and is subsequently removed), but it was non-obvious how to do this in the VFS framework. Reviewed by: Julian Elischer Revision Changes Path 1.19 +3 -2 src/sys/miscfs/procfs/procfs_subr.c 1.18 +10 -1 src/sys/miscfs/procfs/procfs_vfsops.c 1.63 +1 -12 src/sys/kern/kern_exit.c