fixup
OBS-URL: https://build.opensuse.org/package/show/Virtualization:VMware/open-vm-tools?expand=0&rev=283
This commit is contained in:
parent
ae5bd12c66
commit
d68809a47d
@ -2,12 +2,16 @@ 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.orig/modules/linux/vmhgfs/inode.c
|
||||||
+++ open-vm-tools-9.4.6-1770165/modules/linux/vmhgfs/inode.c
|
+++ open-vm-tools-9.4.6-1770165/modules/linux/vmhgfs/inode.c
|
||||||
@@ -1900,7 +1900,7 @@ HgfsPermission(struct inode *inode,
|
@@ -1900,7 +1900,11 @@ HgfsPermission(struct inode *inode,
|
||||||
p,
|
p,
|
||||||
#endif
|
#endif
|
||||||
&inode->i_dentry,
|
&inode->i_dentry,
|
||||||
- d_alias) {
|
- d_alias) {
|
||||||
|
+#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 17, 7)
|
||||||
|
+ d_alias) {
|
||||||
|
+#else
|
||||||
+ d_u.d_alias) {
|
+ d_u.d_alias) {
|
||||||
|
+#endif
|
||||||
int dcount = compat_d_count(dentry);
|
int dcount = compat_d_count(dentry);
|
||||||
if (dcount) {
|
if (dcount) {
|
||||||
LOG(4, ("Found %s %d \n", dentry->d_name.name, dcount));
|
LOG(4, ("Found %s %d \n", dentry->d_name.name, dcount));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user