summaryrefslogtreecommitdiff
path: root/nuttx/fs/nfs/nfs_node.h
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-06-12 16:11:31 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-06-12 16:11:31 +0000
commit7f63dd840feea2cce7e55ad8bc4e1e98d23ede87 (patch)
treeeb7dfcf5b90bab0d33944737b9a0e190245469fd /nuttx/fs/nfs/nfs_node.h
parentc5af86030963729f5b208777284c01bb394a5d39 (diff)
downloadpx4-nuttx-7f63dd840feea2cce7e55ad8bc4e1e98d23ede87.tar.gz
px4-nuttx-7f63dd840feea2cce7e55ad8bc4e1e98d23ede87.tar.bz2
px4-nuttx-7f63dd840feea2cce7e55ad8bc4e1e98d23ede87.zip
Fix PL2303 typo checked in a long time ago; NFS update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4832 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/fs/nfs/nfs_node.h')
-rw-r--r--nuttx/fs/nfs/nfs_node.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/nuttx/fs/nfs/nfs_node.h b/nuttx/fs/nfs/nfs_node.h
index 377d2a88f..02e14cbde 100644
--- a/nuttx/fs/nfs/nfs_node.h
+++ b/nuttx/fs/nfs/nfs_node.h
@@ -65,9 +65,6 @@
/* There is a unique nfsnode allocated for each active file. An nfsnode is
* 'named' by its file handle.
- *
- * NOTE: n_size, n_mtime, and n_ctime are duplicted withing n_attr. We could
- * eliminate those fields and save some memory.
*/
struct nfsnode
@@ -77,9 +74,8 @@ struct nfsnode
uint8_t n_fhsize; /* Size in bytes of the file handle */
uint8_t n_flags; /* Node flags */
uint16_t n_buflen; /* Size of I/O buffer */
- struct nfs_fattr n_fattr; /* nfs file attribute cache (network order) */
- struct timespec n_mtime; /* Prev modify time (see NOTE) */
- time_t n_ctime; /* Prev create time (see NOTE) */
+ struct timespec n_mtime; /* File modification time (see NOTE) */
+ time_t n_ctime; /* File creation time (see NOTE) */
nfsfh_t n_fhandle; /* NFS File Handle */
uint64_t n_size; /* Current size of file (see NOTE) */