summaryrefslogtreecommitdiff
path: root/nuttx/fs/nfs/nfs_node.h
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-06-06 21:51:03 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-06-06 21:51:03 +0000
commitc3b4e1492850517906a96c57fefff332614aad4d (patch)
tree478dc6f3a755c7a69ecbaefac4311d32243a9d9b /nuttx/fs/nfs/nfs_node.h
parent92fb15bdfedc185a9749f8cfae846ded9a729da5 (diff)
downloadpx4-nuttx-c3b4e1492850517906a96c57fefff332614aad4d.tar.gz
px4-nuttx-c3b4e1492850517906a96c57fefff332614aad4d.tar.bz2
px4-nuttx-c3b4e1492850517906a96c57fefff332614aad4d.zip
NFS update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4808 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/fs/nfs/nfs_node.h')
-rw-r--r--nuttx/fs/nfs/nfs_node.h17
1 files changed, 2 insertions, 15 deletions
diff --git a/nuttx/fs/nfs/nfs_node.h b/nuttx/fs/nfs/nfs_node.h
index a07c8473a..5f708f4c7 100644
--- a/nuttx/fs/nfs/nfs_node.h
+++ b/nuttx/fs/nfs/nfs_node.h
@@ -92,18 +92,6 @@
* Public Types
****************************************************************************/
-/* Silly rename structure that hangs off the nfsnode until the name
- * can be removed by nfs_inactive()
-
-struct sillyrename
-{
- struct ucred *s_cred;
- struct vnode *s_dvp;
- long s_namlen;
- char s_name[24];
-};
-*/
-
/* The nfsnode is the nfs equivalent to ufs's inode. Any similarity
* is purely coincidental.
* There is a unique nfsnode allocated for each active file,
@@ -128,8 +116,7 @@ struct nfsnode
struct timespec n_mtime; /* Prev modify time. */
time_t n_ctime; /* Prev create time. */
nfsfh_t n_fhp; /* NFS File Handle */
- struct inode *n_inode; /* associated inode */
- int n_error; /* Save write error value */
+ uint32_t n_error; /* Save write error value */
union
{
struct timespec nf_atim; /* Special file times */
@@ -140,7 +127,7 @@ struct nfsnode
struct timespec nf_mtim;
off_t nd_direof; /* Directory EOF offset cache */
} n_un2;
- int n_fhsize; /* size in bytes, of fh */
+ uint32_t n_fhsize; /* size in bytes, of fh */
short n_flag; /* Flag for locking.. */
//nfsfh_t n_fh; /* Small File Handle */
time_t n_accstamp; /* Access cache timestamp */