diff options
Diffstat (limited to 'open-vm-tools/modules/linux/vmhgfs/fsutil.h')
-rw-r--r-- | open-vm-tools/modules/linux/vmhgfs/fsutil.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/open-vm-tools/modules/linux/vmhgfs/fsutil.h b/open-vm-tools/modules/linux/vmhgfs/fsutil.h index f332fb6d..ff15b15f 100644 --- a/open-vm-tools/modules/linux/vmhgfs/fsutil.h +++ b/open-vm-tools/modules/linux/vmhgfs/fsutil.h @@ -1,5 +1,5 @@ /********************************************************* - * Copyright (C) 2006 VMware, Inc. All rights reserved. + * Copyright (C) 2006-2015 VMware, Inc. All rights reserved. * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the @@ -32,6 +32,7 @@ #include <linux/signal.h> #include "compat_fs.h" +#include "module.h" /* For kuid_t kgid_t types. */ #include "inode.h" #include "request.h" #include "vm_basic_types.h" @@ -73,6 +74,8 @@ int HgfsPrivateGetattr(struct dentry *dentry, struct inode *HgfsIget(struct super_block *sb, ino_t ino, HgfsAttrInfo const *attr); +int HgfsInstantiateRoot(struct super_block *sb, + struct dentry **rootDentry); int HgfsInstantiate(struct dentry *dentry, ino_t ino, HgfsAttrInfo const *attr); @@ -92,8 +95,8 @@ int HgfsGetHandle(struct inode *inode, int HgfsStatusConvertToLinux(HgfsStatus hgfsStatus); void HgfsSetUidGid(struct inode *parent, struct dentry *dentry, - uid_t uid, - gid_t gid); + kuid_t uid, + kgid_t gid); struct inode *HgfsGetInode(struct super_block *sb, ino_t ino); void HgfsDoReadInode(struct inode *inode); |