~ubuntu-branches/ubuntu/quantal/open-vm-tools/quantal-201210021442

« back to all changes in this revision

Viewing changes to modules/linux/vmhgfs/inode.c

  • Committer: Package Import Robot
  • Author(s): Nate Muench
  • Date: 2012-06-20 15:59:51 UTC
  • mfrom: (1.4.8)
  • Revision ID: package-import@ubuntu.com-20120620155951-6rupmpb0f70b52zr
Tags: 2012.05.21-724730-0ubuntu1
* Merging upstream version 2012.05.21-724730.
  - Fixes building against the current Quantal kernel. (LP: #1000344)
  - Fixes Quantal installation issues. (LP: #1019031)

* Sync with Debian
  - Updating to debhelper version 9.
  - Updating to standards version 3.9.3.
  - Updating copyright file machine-readable format version 1.0.
  - Building without multiarch paths for now

Show diffs side-by-side

added added

removed removed

Lines of Context:
61
61
                                  HgfsReq *req,
62
62
                                  Bool *changed);
63
63
static int HgfsPackCreateDirRequest(struct dentry *dentry,
64
 
                                    int mode,
 
64
                                    compat_umode_t mode,
65
65
                                    HgfsOp opUsed,
66
66
                                    HgfsReq *req);
67
67
static int HgfsTruncatePages(struct inode *inode,
74
74
/* HGFS inode operations. */
75
75
static int HgfsCreate(struct inode *dir,
76
76
                      struct dentry *dentry,
77
 
                      int mode,
 
77
                      compat_umode_t mode,
78
78
                      struct nameidata *nd);
79
79
static struct dentry *HgfsLookup(struct inode *dir,
80
80
                                 struct dentry *dentry,
81
81
                                 struct nameidata *nd);
82
82
static int HgfsMkdir(struct inode *dir,
83
83
                     struct dentry *dentry,
84
 
                     int mode);
 
84
                     compat_umode_t mode);
85
85
static int HgfsRmdir(struct inode *dir,
86
86
                     struct dentry *dentry);
87
87
static int HgfsUnlink(struct inode *dir,
729
729
 
730
730
static int
731
731
HgfsPackCreateDirRequest(struct dentry *dentry, // IN: Directory to create
732
 
                         int mode,              // IN: Mode to assign dir
 
732
                         compat_umode_t mode,   // IN: Mode to assign dir
733
733
                         HgfsOp opUsed,         // IN: Op to be used.
734
734
                         HgfsReq *req)          // IN/OUT: Packet to write into
735
735
{
951
951
static int
952
952
HgfsCreate(struct inode *dir,     // IN: Parent dir to create in
953
953
           struct dentry *dentry, // IN: Dentry containing name to create
954
 
           int mode,              // IN: Mode of file to be created
 
954
           compat_umode_t mode,   // IN: Mode of file to be created
955
955
           struct nameidata *nd)  // IN: Intent, vfsmount, ...
956
956
{
957
957
   HgfsAttrInfo attr;
1107
1107
static int
1108
1108
HgfsMkdir(struct inode *dir,     // IN: Inode of parent directory
1109
1109
          struct dentry *dentry, // IN: Dentry with name to be created
1110
 
          int mode)              // IN: Mode of dir to be created
 
1110
          compat_umode_t mode)   // IN: Mode of dir to be created
1111
1111
{
1112
1112
   HgfsReq *req;
1113
1113
   HgfsStatus replyStatus;