mirror of
https://github.com/apache/nuttx.git
synced 2026-09-27 18:58:27 +08:00
NFS just finished a major weight reduction program
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4838 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
@@ -73,16 +73,10 @@ struct nfsnode
|
||||
uint8_t n_type; /* File type */
|
||||
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 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) */
|
||||
|
||||
/* I/O buffer (must be a aligned to 32-bit boundaries) */
|
||||
|
||||
uint8_t n_iobuffer[1]; /* Actual size is given by n_buflen */
|
||||
};
|
||||
#define SIZEOF_nfsnode(n) (sizeof(struct nfsnode) + ((n)-1))
|
||||
|
||||
#endif /* __FS_NFS_NFS_NODE_H */
|
||||
|
||||
Reference in New Issue
Block a user