Date: Tue, 9 Jun 1998 10:41:20 +1000 From: Bruce Evans <bde@zeta.org.au> To: cvs-all@FreeBSD.ORG, cvs-committers@FreeBSD.ORG, cvs-sys@FreeBSD.ORG, julian@FreeBSD.ORG Subject: Re: cvs commit: src/sys/ufs/ufs ufs_vnops.c Message-ID: <199806090041.KAA11579@godzilla.zeta.org.au>
next in thread | raw e-mail | index | archive | help
> Modified files: > sys/ufs/ufs ufs_vnops.c > Log: > The version of the softdep changes in FreeBSD broke the > (doingdirectory && !newparent) case of ufs_rename(). > rename("D1/X/", "D2/Y/") gives a wrong link count for D2. > > Submitted by: Bruce Evans <bde@zeta.org.au> > Reviewed by: Kirk McKusick <mckusick@McKusick.COM> It actually broke the (doingdirectory && newparent) case, as shown in the example. D2's link count became -1 (if Y was the only subdirectory in it to begin with), so it could not be removed and it took an fsck to fix the error. Bruce
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199806090041.KAA11579>