summaryrefslogtreecommitdiff
path: root/nuttx/fs/nfs/nfs_node.h
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-04-18 23:31:47 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-04-18 23:31:47 +0000
commit38fa2b80515c47c54d69af5adf5746174706f14e (patch)
treed774ecc6a25dc9c89bb318f4e22580d6ccddfdc0 /nuttx/fs/nfs/nfs_node.h
parent607ce6753b14ac62010faab2e174b9a34e26d00f (diff)
downloadpx4-nuttx-38fa2b80515c47c54d69af5adf5746174706f14e.tar.gz
px4-nuttx-38fa2b80515c47c54d69af5adf5746174706f14e.tar.bz2
px4-nuttx-38fa2b80515c47c54d69af5adf5746174706f14e.zip
NFS update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4634 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/fs/nfs/nfs_node.h')
-rw-r--r--nuttx/fs/nfs/nfs_node.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/nuttx/fs/nfs/nfs_node.h b/nuttx/fs/nfs/nfs_node.h
index dd7fe12a8..3ca0762ef 100644
--- a/nuttx/fs/nfs/nfs_node.h
+++ b/nuttx/fs/nfs/nfs_node.h
@@ -80,6 +80,14 @@
#define VTONFS(vp) ((struct nfsnode *)(vp)->f_priv)
#define NFSTOV(np) ((np)->n_vnode)
+#define n_atim n_un1.nf_atim
+#define n_mtim n_un2.nf_mtim
+#define n_sillyrename n_un3.nf_silly
+#define n_cookieverf n_un1.nd_cookieverf
+#define n4_cookieverf n_un1.nd4_cookieverf
+#define n_direofoffset n_un2.nd_direof
+#define n_cookies n_un3.nd_cook
+
/****************************************************************************
* Public Types
****************************************************************************/
@@ -119,7 +127,7 @@ struct nfsnode
time_t n_attrstamp; /* Attr. cache timestamp */
struct timespec n_mtime; /* Prev modify time. */
time_t n_ctime; /* Prev create time. */
- nfsfh_t *n_fhp; /* NFS File Handle */
+ nfsfh_t n_fhp; /* NFS File Handle */
struct inode *n_inode; /* associated inode */
int n_error; /* Save write error value */
union
@@ -130,7 +138,7 @@ struct nfsnode
union
{
struct timespec nf_mtim;
- off_t nd_direoffset; /* Directory EOF offset cache */
+ off_t nd_direof; /* Directory EOF offset cache */
} n_un2;
short n_fhsize; /* size in bytes, of fh */
short n_flag; /* Flag for locking.. */