Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Jan 1997 10:42:34 -0700 (MST)
From:      Dave Andersen <angio@aros.net>
To:        hackers@freebsd.org
Subject:   NFS sillyrenamedir
Message-ID:  <199701061742.KAA04137@terra.aros.net>

next in thread | raw e-mail | index | archive | help
    As was pointed out earlier, the NFS system in -2.2 is still subject
to kernel panics when someone:    
    mkdir tmp ; mkdir tmp/tmp
    cd tmp
    mv tmp ..

This panic is caused by the line in nfs_vnops.c:

#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 (e.g. just skipping the panic code), or does it
require a more substantial change?  (Or is someone already working
on this that I missed?)

    -Dave
-- 
angio@aros.net                Complete virtual hosting and business-oriented
system administration         Internet services.  (WWW, FTP, email)
http://www.aros.net/          http://www.aros.net/about/virtual
  "There are only two industries that refer to their customers as 'users'."




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