~n-muench/ubuntu/precise/open-vm-tools/open-vm-tools.march-merge

« back to all changes in this revision

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

  • Committer: Nate Muench
  • Date: 2012-03-22 17:50:13 UTC
  • mfrom: (1.4.7)
  • Revision ID: nowiwilldestroyabydos@gmail.com-20120322175013-0jh30wfk7ut20rdj
Tags: 2012.03.13-651368-0ubuntu1
* Merge latest upstream git tag.
* debian/rules: Removed glib2.0 compatibility CFLAG.
  - Packaging can now build without it.

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;