From owner-cvs-sys Sun Mar 19 03:17:08 1995 Return-Path: cvs-sys-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id DAA02340 for cvs-sys-outgoing; Sun, 19 Mar 1995 03:17:08 -0800 Received: (from davidg@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id DAA02329; Sun, 19 Mar 1995 03:17:01 -0800 Date: Sun, 19 Mar 1995 03:17:01 -0800 From: David Greenman Message-Id: <199503191117.DAA02329@freefall.cdrom.com> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/kern vfs_syscalls.c Sender: cvs-sys-owner@freebsd.org Precedence: bulk davidg 95/03/19 03:16:59 Modified: sys/kern vfs_syscalls.c Log: Moved call to vnode_pager_uncache in rename() to before the VOP_RENAME. It was previously after the VOP_RENAME and the reference and lock on the vnode had already been lost, allowing interesting internel inconsistencies. This is one of the two reasons why freefall was crashing every hour or two (the other being nullfs bugs). Don't call vnode_pager_uncache in revoke(). revoke() is only allowed on VCHR and VBLK vnodes.