From owner-freebsd-commit Tue Apr 11 10:13:25 1995 Return-Path: commit-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id KAA23460 for commit-outgoing; Tue, 11 Apr 1995 10:13:25 -0700 Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id KAA23446 for cvs-sys-outgoing; Tue, 11 Apr 1995 10:13:22 -0700 Received: (from bde@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id KAA23436 ; Tue, 11 Apr 1995 10:13:18 -0700 Date: Tue, 11 Apr 1995 10:13:18 -0700 From: Bruce Evans Message-Id: <199504111713.KAA23436@freefall.cdrom.com> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/msdosfs msdosfs_denode.c Sender: commit-owner@FreeBSD.org Precedence: bulk bde 95/04/11 10:13:18 Modified: sys/msdosfs msdosfs_denode.c Log: Submitted by: Mike Pritchard Fix PR 303: msdosfs: moving a file into another directory causes panic. " ... the code that does the rename already has the denode locked when msdosfs_hashins() gets called, resulting in the panic when the routine attempts to lock the denode again. ... The attached patch changes the msdosfs_hashins() routine to not lock the denode. The caller is now resposible for obtaining the lock instead of having msdosfs_hashins() do it for them."