Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Jan 1997 22:26:21 +0100
From:      j@uriah.heep.sax.de (J Wunsch)
To:        angio@aros.net (Dave Andersen)
Cc:        hackers@freebsd.org
Subject:   Re: NFS sillyrenamedir
Message-ID:  <Mutt.19970106222621.j@uriah.heep.sax.de>
In-Reply-To: <199701061742.KAA04137@terra.aros.net>; from Dave Andersen on Jan 6, 1997 10:42:34 -0700
References:  <199701061742.KAA04137@terra.aros.net>

next in thread | previous in thread | raw e-mail | index | archive | help
As Dave Andersen wrote:

> #ifndef DIAGNOSTIC
>         if (vp->v_type == VDIR)   
>                 panic("nfs: sillyrename dir");
> #endif
> 
>    I'm not very familiar with the FS code in FreeBSD.  Is there       
> an easy fix for this ...

revision 1.39
date: 1996/12/31 07:10:19;  author: wpaul;  state: Exp;  lines: +3 -2
Fix (properly, I hope) 'panic: sillyrename dir' crash that can happen
if you do:

% cd /nfsdir
% mkdir -p foo/foo
% mv foo/foo .

See, it's already done. :)  Send the beer to Bill Paul...

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Mutt.19970106222621.j>