diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-06-01 23:12:17 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-06-01 23:12:17 +0000 |
commit | 46a632eaa001d0e40e2bccfc4d396c3abb99c117 (patch) | |
tree | 6c12bb8768e193fba93d510c2dc0e13910472abf /nuttx/fs/nfs/nfs_node.h | |
parent | d42a467b1575de8d3f7828547aa350db6d0a1062 (diff) | |
download | px4-nuttx-46a632eaa001d0e40e2bccfc4d396c3abb99c117.tar.gz px4-nuttx-46a632eaa001d0e40e2bccfc4d396c3abb99c117.tar.bz2 px4-nuttx-46a632eaa001d0e40e2bccfc4d396c3abb99c117.zip |
Fix PHY address search; NFS update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4796 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/fs/nfs/nfs_node.h')
-rw-r--r-- | nuttx/fs/nfs/nfs_node.h | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/nuttx/fs/nfs/nfs_node.h b/nuttx/fs/nfs/nfs_node.h index 9a8799558..a07c8473a 100644 --- a/nuttx/fs/nfs/nfs_node.h +++ b/nuttx/fs/nfs/nfs_node.h @@ -123,7 +123,7 @@ struct nfsnode bool n_open; /* true: The file is (still) open */ uint64_t n_size; /* Current size of file */ struct nfs_fattr n_fattr; /* nfs file attribute cache */ - uint32_t nfsv3_type; /* File type */ + uint8_t nfsv3_type; /* File type */ time_t n_attrstamp; /* Attr. cache timestamp */ struct timespec n_mtime; /* Prev modify time. */ time_t n_ctime; /* Prev create time. */ @@ -156,4 +156,22 @@ struct nfsnode //int n_commitflags; }; +/* This structure is used internally for describing the result of + * walking a path + */ + +struct nfs_dirinfo_s +{ + /* These values describe the directory containing the terminal + * path component (of the terminal component itself if it is + * a directory. + */ + + struct nfsdir_s n_dir; /* Describes directory. */ + + /* Values from the NFS file entry */ + + struct nfsnode attribute; +}; + #endif /* __FS_NFS_NFS_NODE_H */ |