FreeBSD Bugzilla – Attachment 8245 Details for
Bug 17347
msdosfs_rename and 'vrele: negative ref count'
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 605 bytes, created by
iedowse
on 2000-03-12 21:10:00 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
iedowse
Created:
2000-03-12 21:10:00 UTC
Size:
605 bytes
patch
obsolete
>--- msdosfs_vnops.c.orig Sun Mar 12 20:32:47 2000 >+++ msdosfs_vnops.c Sun Mar 12 20:33:49 2000 >@@ -1098,7 +1098,6 @@ > VOP_UNLOCK(fvp, 0, p); > if (VTODE(fdvp)->de_StartCluster != VTODE(tdvp)->de_StartCluster) > newparent = 1; >- vrele(fdvp); > if (doingdirectory && newparent) { > if (error) /* write access check above */ > goto bad; >@@ -1166,7 +1165,8 @@ > panic("msdosfs_rename: lost from startdir"); > if (!newparent) > VOP_UNLOCK(tdvp, 0, p); >- (void) relookup(fdvp, &fvp, fcnp); >+ if (relookup(fdvp, &fvp, fcnp) == 0) >+ vrele(fdvp); > if (fvp == NULL) { > /* > * From name has disappeared.
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 17347
: 8245