Dominique Leuenberger
d68809a47d
OBS-URL: https://build.opensuse.org/package/show/Virtualization:VMware/open-vm-tools?expand=0&rev=283
18 lines
710 B
Diff
18 lines
710 B
Diff
Index: open-vm-tools-9.4.6-1770165/modules/linux/vmhgfs/inode.c
|
|
===================================================================
|
|
--- open-vm-tools-9.4.6-1770165.orig/modules/linux/vmhgfs/inode.c
|
|
+++ open-vm-tools-9.4.6-1770165/modules/linux/vmhgfs/inode.c
|
|
@@ -1900,7 +1900,11 @@ HgfsPermission(struct inode *inode,
|
|
p,
|
|
#endif
|
|
&inode->i_dentry,
|
|
- d_alias) {
|
|
+#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 17, 7)
|
|
+ d_alias) {
|
|
+#else
|
|
+ d_u.d_alias) {
|
|
+#endif
|
|
int dcount = compat_d_count(dentry);
|
|
if (dcount) {
|
|
LOG(4, ("Found %s %d \n", dentry->d_name.name, dcount));
|