FreeBSD Bugzilla – Attachment 210586 Details for
Bug 243240
emulators/open-vm-tools-nox11: fails to build after r356337
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Remove reference to a_flags field
patch-modules_freebsd_vmblock_vnops.c (text/plain), 806 bytes, created by
Ruslan Garipov
on 2020-01-10 09:59:29 UTC
(
hide
)
Description:
Remove reference to a_flags field
Filename:
MIME Type:
Creator:
Ruslan Garipov
Created:
2020-01-10 09:59:29 UTC
Size:
806 bytes
patch
obsolete
>--- modules/freebsd/vmblock/vnops.c.orig 2020-01-10 03:05:28 UTC >+++ modules/freebsd/vmblock/vnops.c >@@ -1262,12 +1262,15 @@ struct vop_unlock_args { > */ > { > struct vnode *vp = ap->a_vp; >+#if __FreeBSD_version < 1300074 > int flags = ap->a_flags; >+#endif > COMPAT_THREAD_VAR(td, ap->a_td); > struct VMBlockNode *nn; > struct vnode *lvp; > int error; > >+#if __FreeBSD_version < 1300074 > /* > * If caller already holds interlock, drop it. (Per VOP_UNLOCK() API.) > * Also strip LK_INTERLOCK from flags passed to lower layer. >@@ -1276,6 +1279,7 @@ struct vop_unlock_args { > VI_UNLOCK(vp); > ap->a_flags = flags &= ~LK_INTERLOCK; > } >+#endif > nn = VPTOVMB(vp); > if (nn != NULL && (lvp = VMBVPTOLOWERVP(vp)) != NULL) { > error = COMPAT_VOP_UNLOCK(lvp, flags, 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 243240
: 210586 |
210587