Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 413100 Details for
Bug 561252
app-emulation/vmware-modules-304.2 with kernel 4.2.* : /.../inode.c:247:4: error: implicit declaration of function ‘nd_set_link’ [-Werror=implicit-function-declaration]
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
inode.patch
304-4.2-01-inode.patch (text/plain), 1.64 KB, created by
Ognian Tenchev
on 2015-09-27 22:45:02 UTC
(
hide
)
Description:
inode.patch
Filename:
MIME Type:
Creator:
Ognian Tenchev
Created:
2015-09-27 22:45:02 UTC
Size:
1.64 KB
patch
obsolete
>--- vmblock-only/linux/inode.c.orig 2015-09-28 01:11:08.000000000 +0300 >+++ vmblock-only/linux/inode.c 2015-09-28 01:14:32.318043465 +0300 >@@ -44,7 +44,9 @@ > static int InodeOpReadlink(struct dentry *, char __user *, int); > #endif > >-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 13) >+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 2, 0) >+static const char *InodeOpFollowlink(struct dentry *dentry, void **cookie); >+#elif 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); >@@ -221,13 +223,15 @@ > *---------------------------------------------------------------------------- > */ > >-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 13) >-static void * >+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 2, 0) >+static const char *InodeOpFollowlink(struct dentry *dentry, void **cookie) >+#elif LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 13) >+static void * InodeOpFollowlink(struct dentry *dentry, // IN : dentry of symlink >+ struct nameidata *nd) // OUT: stores result > #else >-static int >-#endif >-InodeOpFollowlink(struct dentry *dentry, // IN : dentry of symlink >+static int InodeOpFollowlink(struct dentry *dentry, // IN : dentry of symlink > struct nameidata *nd) // OUT: stores result >+#endif > { > int ret; > VMBlockInodeInfo *iinfo; >@@ -244,7 +248,11 @@ > goto out; > } > >+#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 561252
:
412622
|
412624
| 413100 |
413102
|
413104
|
413106