Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 410716 Details for
Bug 531682
app-emulation/vmware-workstation-11.0.0.2305329 version bump
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
vmblock-patch for kernel 4.2
linux-4.2-inode.patch (text/plain), 1.49 KB, created by
Harris Landgarten
on 2015-08-31 19:23:56 UTC
(
hide
)
Description:
vmblock-patch for kernel 4.2
Filename:
MIME Type:
Creator:
Harris Landgarten
Created:
2015-08-31 19:23:56 UTC
Size:
1.49 KB
patch
obsolete
>diff -rupN vmblock-only.orig/linux/inode.c vmblock-only/linux/inode.c >--- vmblock-only.orig/linux/inode.c 2015-08-31 15:10:05.000000000 -0400 >+++ vmblock-only/linux/inode.c 2015-08-31 12:35:40.000000000 -0400 >@@ -44,11 +44,8 @@ static struct dentry *InodeOpLookup(stru > static int InodeOpReadlink(struct dentry *, char __user *, int); > #endif > >-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 13) >-static void *InodeOpFollowlink(struct dentry *dentry, struct nameidata *nd); >-#else >-static int InodeOpFollowlink(struct dentry *dentry, struct nameidata *nd); >-#endif >+static const char *InodeOpFollowlink(struct dentry *dentry, void **cookie); >+ > > > struct inode_operations RootInodeOps = { >@@ -220,14 +217,7 @@ InodeOpReadlink(struct dentry *dentry, > * > *---------------------------------------------------------------------------- > */ >- >-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 13) >-static void * >-#else >-static int >-#endif >-InodeOpFollowlink(struct dentry *dentry, // IN : dentry of symlink >- struct nameidata *nd) // OUT: stores result >+static const char *InodeOpFollowlink(struct dentry *dentry, void **cookie) > { > int ret; > VMBlockInodeInfo *iinfo; >@@ -244,7 +234,11 @@ InodeOpFollowlink(struct dentry *dentry, > goto out; > } > >- nd_set_link(nd, iinfo->name); >+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 2, 0) >+ return *cookie = (char *)(iinfo->name); >+#else >+ nd_set_link(nd, iinfo->name); >+#endif > > out: > #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 13)
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 531682
:
393860
|
393862
|
393864
|
393866
|
393868
|
394828
|
396480
|
396482
|
396484
|
399520
|
399760
|
399762
|
399764
|
399766
|
399768
|
399770
|
400032
|
400034
|
405520
|
405522
| 410716 |
410718