NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/47040: renaming mount point panics in namei

The following reply was made to PR kern/47040; it has been noted by GNATS.

From: David Holland <>
Subject: Re: kern/47040: renaming mount point panics in namei
Date: Tue, 9 Oct 2012 15:19:56 +0000

 On Fri, Oct 05, 2012 at 02:00:08PM +0000, Taylor R Campbell wrote:
  >     I had a directory /foo/bar/, and I wanted to rename
  >     it to /foo/, so I ran
  >             % mv bar/ .
  >     from /foo, forgetting that /foo/bar/ had a file
  >     system mounted.  This immediately triggered a panic in namei:
  >             panic: leaf `' should be empty
  >     I am not sure which instance of the panic this is -- whether
  >     it's the one in lookup_once or the one in relookup -- because I
  >     can't read a kernel core dump on this machine.
 It doesn't matter, because either way it's caused by VOP_LOOKUP
 returning both an error and a result, which it's not supposed to do.
 Which fs(es)?
  >     (Real fix: rewrite namei...)
 Not this time! :-p
 David A. Holland

Home | Main Index | Thread Index | Old Index