-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 02/18/11 18:22, Kostik Belousov wrote: > > The patch below fixed the bug for the test extracted from your kdump. > > diff --git a/sys/ufs/ufs/ufs_vnops.c b/sys/ufs/ufs/ufs_vnops.c > index 084971e..34b1758 100644 > --- a/sys/ufs/ufs/ufs_vnops.c > +++ b/sys/ufs/ufs/ufs_vnops.c > @@ -1295,7 +1295,9 @@ relock: > newparent = tdp->i_number; > doingdirectory = 1; > } > - if (fvp->v_mountedhere != NULL || (tvp && tvp->v_mountedhere != NULL)) { > + if ((fvp->v_type == VDIR && fvp->v_mountedhere != NULL) || > + (tvp != NULL && tvp->v_type == VDIR && > + tvp->v_mountedhere != NULL)) { > error = EXDEV; > goto unlockout; > }
To confirm - this fixes the issue - thanks! imb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iEYEARECAAYFAk1fHKMACgkQQv9rrgRC1JKt+ACgv6Cx9NVZapjDn0bMUskLs7jM ym8An0YIQKWY0dcJ12qX9zV4c6ePzgD+ =JQxR -----END PGP SIGNATURE----- _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"