FreeBSD Bugzilla – Attachment 247211 Details for
Bug 275871
[unionfs] [nullfs] [zfs] corrupt filesystem
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
updated patch, with debug print removed
patch_unionfs_shadow (text/plain), 597 bytes, created by
Jason A. Harmening
on 2023-12-23 06:04:47 UTC
(
hide
)
Description:
updated patch, with debug print removed
Filename:
MIME Type:
Creator:
Jason A. Harmening
Created:
2023-12-23 06:04:47 UTC
Size:
597 bytes
patch
obsolete
>diff --git a/sys/fs/unionfs/union_subr.c b/sys/fs/unionfs/union_subr.c >index b438131dc820..89500a23b32e 100644 >--- a/sys/fs/unionfs/union_subr.c >+++ b/sys/fs/unionfs/union_subr.c >@@ -916,7 +916,11 @@ unionfs_mkshadowdir(struct unionfs_mount *ump, struct vnode *udvp, > goto unionfs_mkshadowdir_abort; > unionfs_create_uppervattr_core(ump, &lva, &va, td); > >+ char *pathend = &nd.ni_cnd.cn_nameptr[nd.ni_cnd.cn_namelen]; >+ char pathterm = *pathend; >+ *pathend = '\0'; > error = VOP_MKDIR(udvp, &uvp, &nd.ni_cnd, &va); >+ *pathend = pathterm; > > if (!error) { > unionfs_node_update(unp, uvp, td);
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 275871
:
247210
| 247211 |
248076
|
248162