-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinode-vmhgfs.patch
More file actions
20 lines (20 loc) · 898 Bytes
/
inode-vmhgfs.patch
File metadata and controls
20 lines (20 loc) · 898 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- /usr/lib/vmware-tools/modules/source/vmhgfs-only/inode.c
+++ /usr/lib/vmware-tools/modules/source/vmhgfs-only/inode.c
@@ -1917,7 +1917,7 @@
p,
#endif
&inode->i_dentry,
- d_alias) {
+ d_u.d_alias) {
int dcount = hgfs_d_count(dentry);
if (dcount) {
LOG(4, ("Found %s %d \n", dentry->d_name.name, dcount));
@@ -1970,7 +1970,7 @@
/* Find a dentry with valid d_count. Refer bug 587879. */
list_for_each(pos, &inode->i_dentry) {
int dcount;
- struct dentry *dentry = list_entry(pos, struct dentry, d_alias);
+ struct dentry *dentry = list_entry(pos, struct dentry, d_u.d_alias);
dcount = hgfs_d_count(dentry);
if (dcount) {
LOG(4, ("Found %s %d \n", (dentry)->d_name.name, dcount));