FreeBSD Bugzilla – Attachment 30735 Details for
Bug 51583
[nullfs] [patch] allow to work with devices and sockets over nullfs [STABLE, 5.0-CURRENT]
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 622 bytes, created by
Dmitry Sivachenko
on 2003-04-29 14:30:03 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Dmitry Sivachenko
Created:
2003-04-29 14:30:03 UTC
Size:
622 bytes
patch
obsolete
>--- null_subr.c Tue Apr 29 17:18:30 2003 >+++ null_subr.c.new Tue Apr 29 17:11:37 2003 >@@ -73,6 +73,7 @@ MALLOC_DEFINE(M_NULLFSNODE, "NULLFS node > > static struct vnode * null_hashget(struct vnode *); > static struct vnode * null_hashins(struct null_node *); >+extern void addalias(struct vnode *vp, dev_t nvp_rdev); > > /* > * Initialise cache headers >@@ -224,6 +225,10 @@ null_nodeget(mp, lowervp, vpp) > xp->null_lowervp = lowervp; > > vp->v_type = lowervp->v_type; >+ if (vp->v_type == VCHR || vp->v_type == VBLK) >+ addalias(vp, lowervp->v_un.vu_spec.vu_cdev); >+ else >+ vp->v_un = lowervp->v_un; > vp->v_data = xp; > > /*
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 51583
:
30734
| 30735