Subject: kern/3846: msdosfs: rename "MOTD.tmp" to "motd.tmp" panic: locking against myself
To: None <gnats-bugs@gnats.netbsd.org>
From: John Kohl <jtk@kolvir.arlington-heights.ma.us>
List: netbsd-bugs
Date: 07/09/1997 00:16:15
>Number: 3846
>Category: kern
>Synopsis: msdosfs: rename "MOTD.tmp" to "motd.tmp" panic: locking against myself
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: kern-bug-people (Kernel Bug People)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Jul 8 21:20:01 1997
>Last-Modified:
>Originator: John Kohl
>Organization:
NetBSD Kernel Hackers `R` Us
>Release: NetBSD-current, 1997/07/08
>Environment:
System: NetBSD pattern.arlington-heights.ma.us 1.2G NetBSD 1.2G (PATTERN) #14: Tue Jul 8 21:57:42 EDT 1997 jtk@pattern.arlington-heights.ma.us:/u4/sandbox/src/sys/arch/i386/compile/PATTERN i386
>Description:
On msdosfs, mounting an NT FAT file system, renaming MOTD.foo to
motd.foo deadlocks and panics with "locking against myself"
stack trace showed msdosfs_rename() calling msdosfs_lock(),
which panics.
This was fixed at least once before, judging by previous PR comments.
>How-To-Repeat:
% cd /msdos
% touch MOTD.foo
% mv MOTD.foo motd.foo
>Fix:
>Audit-Trail:
>Unformatted: