summaryrefslogtreecommitdiff
path: root/nuttx/fs/nfs/nfs_node.h
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-05-28 23:40:20 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-05-28 23:40:20 +0000
commita6eddbb85537ebee6860b0c38ab48be615b297f6 (patch)
treeb3ff63b6f24e1e4769154242c5f3002acc3929d2 /nuttx/fs/nfs/nfs_node.h
parentda8ffa947e5747e3365a26d0829135a04ecbdf94 (diff)
downloadpx4-nuttx-a6eddbb85537ebee6860b0c38ab48be615b297f6.tar.gz
px4-nuttx-a6eddbb85537ebee6860b0c38ab48be615b297f6.tar.bz2
px4-nuttx-a6eddbb85537ebee6860b0c38ab48be615b297f6.zip
NFS update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4781 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/fs/nfs/nfs_node.h')
-rw-r--r--nuttx/fs/nfs/nfs_node.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/nuttx/fs/nfs/nfs_node.h b/nuttx/fs/nfs/nfs_node.h
index e32c49d78..c2d2ca5e0 100644
--- a/nuttx/fs/nfs/nfs_node.h
+++ b/nuttx/fs/nfs/nfs_node.h
@@ -47,9 +47,7 @@
* Included Files
****************************************************************************/
-#include <nuttx/fs/nfs.h>
-
-#include "nfs.h"
+#include "nfs_proto.h"
/****************************************************************************
* Pre-processor Definitions
@@ -57,8 +55,8 @@
/* Values for n_commitflags */
-#define NFS_COMMIT_PUSH_VALID 0x0001/* push range valid */
-#define NFS_COMMIT_PUSHED_VALID 0x0002/* pushed range valid */
+#define NFS_COMMIT_PUSH_VALID 0x0001 /* Push range valid */
+#define NFS_COMMIT_PUSHED_VALID 0x0002 /* Pushed range valid */
#define n_atim n_un1.nf_atim
#define n_mtim n_un2.nf_mtim
@@ -142,7 +140,7 @@ struct nfsnode
struct timespec nf_mtim;
off_t nd_direof; /* Directory EOF offset cache */
} n_un2;
-//short n_fhsize; /* size in bytes, of fh */
+ int 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 */