summaryrefslogtreecommitdiff
path: root/nuttx/fs/nfs/nfs_mount.h
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-03-28 00:10:43 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-03-28 00:10:43 +0000
commitc2853cbc580b343ff45c3befc1b484ffc2a2ecfe (patch)
treec93decb412e433193f06fc5602a9560119017d19 /nuttx/fs/nfs/nfs_mount.h
parent3f871cbbae8fc67b704f267fadbb932046afd5ca (diff)
downloadpx4-nuttx-c2853cbc580b343ff45c3befc1b484ffc2a2ecfe.tar.gz
px4-nuttx-c2853cbc580b343ff45c3befc1b484ffc2a2ecfe.tar.bz2
px4-nuttx-c2853cbc580b343ff45c3befc1b484ffc2a2ecfe.zip
NFS update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4532 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/fs/nfs/nfs_mount.h')
-rw-r--r--nuttx/fs/nfs/nfs_mount.h24
1 files changed, 11 insertions, 13 deletions
diff --git a/nuttx/fs/nfs/nfs_mount.h b/nuttx/fs/nfs/nfs_mount.h
index 287794ee3..107f4d966 100644
--- a/nuttx/fs/nfs/nfs_mount.h
+++ b/nuttx/fs/nfs/nfs_mount.h
@@ -109,20 +109,18 @@ struct nfsmount
/* Prototypes for NFS mount operations: */
-int nfs_mount(struct mount *, const char *, void *, struct nameidata *,
- struct proc *);
-int mountnfs(struct nfs_args *, struct mount *, struct mbuf *, char *, char *);
+int nfs_mount(struct inode *, const char *, void *);
+int mountnfs(struct nfs_args *, struct inode *, char *, char *);
void nfs_decode_args(struct nfsmount *, struct nfs_args *, struct nfs_args *);
-int nfs_start(struct mount *, int, struct proc *);
-int nfs_unmount(struct mount *, int, struct proc *);
-int nfs_root(struct mount *, struct vnode **);
-int nfs_statfs(struct mount *, struct statfs *, struct proc *);
-int nfs_sync(struct mount *, int, struct ucred *, struct proc *);
-int nfs_vget(struct mount *, ino_t, struct vnode **);
-int nfs_fhtovp(struct mount *, struct fid *, struct vnode **);
-int nfs_vptofh(struct vnode *, struct fid *);
-int nfs_fsinfo(struct nfsmount *, struct vnode *, struct ucred *,
- struct proc *);
+int nfs_start(struct inode *, int);
+int nfs_unmount(struct inode *, int);
+int nfs_root(struct inode *, struct file **);
+int nfs_statfs(struct inode *, struct statfs *);
+int nfs_sync(struct inode *, int);
+int nfs_vget(struct inode *, ino_t, struct file **);
+int nfs_fhtovp(struct inode *, struct fid *);
+int nfs_vptofh(struct file *, struct fid *);
+int nfs_fsinfo(struct nfsmount *, struct file *);
void nfs_init(void);
#endif