FreeBSD Bugzilla – Attachment 248544 Details for
Bug 268005
rsync to FAT32 flash drive gets "Freeing unused sector" errors
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix for this issue
1.diff (text/plain), 631 bytes, created by
Stefan Eßer
on 2024-02-17 18:59:48 UTC
(
hide
)
Description:
Fix for this issue
Filename:
MIME Type:
Creator:
Stefan Eßer
Created:
2024-02-17 18:59:48 UTC
Size:
631 bytes
patch
obsolete
>diff --git a/sys/fs/msdosfs/msdosfs_vnops.c b/sys/fs/msdosfs/msdosfs_vnops.c >index 31d9b003a6fa..078ea5e52312 100644 >--- a/sys/fs/msdosfs/msdosfs_vnops.c >+++ b/sys/fs/msdosfs/msdosfs_vnops.c >@@ -1180,8 +1180,10 @@ msdosfs_rename(struct vop_rename_args *ap) > memcpy(oldname, fip->de_Name, 11); > memcpy(fip->de_Name, toname, 11); /* update denode */ > error = msdosfs_lookup_ino(tdvp, NULL, tcnp, &scn, &blkoff); >- if (error == EJUSTRETURN) >+ if (error == EJUSTRETURN) { >+ tdip->de_fndoffset = to_diroffset; > error = createde(fip, tdip, NULL, tcnp); >+ } > if (error != 0) { > memcpy(fip->de_Name, oldname, 11); > goto unlock;
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 268005
:
248301
| 248544