> Anders Hammarquist wrote:
> > I just booted 2.1.105 (Linus version) and found a rather interesting
> > misfeature with knfs. My client (sun sparcclassic running linux 2.0.33) did
> > mkdir . in a nfsmounted directory (tar extracting an archive). This caused
> > knfsd to make a new directory of the same name as the old, in the old
> > directory, but link it in to the dcache where the old directory had been. A
> > bit frightening until I ran debugfs on the filesystem to find out what really
> > happened...
> > Anyway, attached is a short patch that makes attempts to create existing
> > directories over nfs fail with -EEXIST. Tested here and is working fine so far.
> Hi Anders,
> I posted a patch for knfsd a while back that corrects the knfsd directory locking
> problems. It should take care of the mkdir problem you noted, as well as other
> similar cases.
> I've attached a copy against 2.1.105.
Hmmm... Alan? Part of ac4? Please? Linus? 106?
> Regards,
> Bill
Mike
-- Michael H. Warfield | (770) 985-6132 | mhw@WittsEnd.com (The Mad Wizard) | (770) 925-8248 | http://www.wittsend.com/mhw/ NIC whois: MHW9 | An optimist believes we live in the best of all PGP Key: 0xDF1DD471 | possible worlds. A pessimist is sure of it!- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu