~n-muench/ubuntu/oneiric/open-vm-tools/open-vm-tools.fix-836277

« back to all changes in this revision

Viewing changes to modules/linux/vmhgfs/module.h

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Baumann
  • Date: 2009-07-30 12:56:49 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20090730125649-97sfj5li8axiseoo
Tags: 2009.07.22-179896-2
* Temporarily building without dumbnet, the recently uploaded
  new dumbnet upstream version broke down (Closes: #539006).
* Using more common name to store local debian additions.

Show diffs side-by-side

added added

removed removed

Lines of Context:
55
55
 
56
56
extern char *HOST_IP;
57
57
extern int HOST_PORT;
 
58
extern int HOST_VSOCKET_PORT;
58
59
 
59
60
/* Blocksize to be set in superblock. (XXX how is this used?) */
60
61
#define HGFS_BLOCKSIZE 1024
89
90
 
90
91
#ifdef VMW_EMBED_INODE
91
92
#define INODE_GET_II_P(_inode) container_of(_inode, HgfsInodeInfo, inode)
92
 
#elif defined(VMW_INODE_2618)
 
93
#elif defined VMW_INODE_2618
93
94
#define INODE_GET_II_P(inode) ((HgfsInodeInfo *)(inode)->i_private)
94
95
#else
95
96
#define INODE_GET_II_P(inode) ((HgfsInodeInfo *)(inode)->u.generic_ip)
96
97
#endif
97
98
 
98
 
#if defined(VMW_INODE_2618)
 
99
#if defined VMW_INODE_2618
99
100
#define INODE_SET_II_P(inode, info) do { (inode)->i_private = (info); } while (0)
100
101
#else
101
102
#define INODE_SET_II_P(inode, info) do { (inode)->u.generic_ip = (info); } while (0)
167
168
   struct inode inode;
168
169
#endif
169
170
 
 
171
   /* Inode number given by the host. */
 
172
   uint64 hostFileId;
 
173
 
170
174
   /* Was the inode number for this inode generated via iunique()? */
171
175
   Bool isFakeInodeNumber;
172
176