diff options
author | Chris Johns <chrisj@rtems.org> | 2021-07-29 15:49:52 +1000 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2021-08-31 18:38:48 +1000 |
commit | 882425fe547f73a1a77caa4938dec369cfd1063d (patch) | |
tree | afcd61607284dcba2be4defbad655e16b138d429 /freebsd/sys/nfsclient | |
parent | kern/sys: Import NFS and NFS file system client (diff) | |
download | rtems-libbsd-882425fe547f73a1a77caa4938dec369cfd1063d.tar.bz2 |
kern/sys: Add NFSv4 client
Update #4475
Diffstat (limited to 'freebsd/sys/nfsclient')
-rw-r--r-- | freebsd/sys/nfsclient/nfs.h | 2 | ||||
-rw-r--r-- | freebsd/sys/nfsclient/nfsnode.h | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/freebsd/sys/nfsclient/nfs.h b/freebsd/sys/nfsclient/nfs.h index ab50d896..0662c3c9 100644 --- a/freebsd/sys/nfsclient/nfs.h +++ b/freebsd/sys/nfsclient/nfs.h @@ -39,7 +39,7 @@ #define _NFSCLIENT_NFS_H_ #ifdef _KERNEL -#include "opt_nfs.h" +#include <rtems/bsd/local/opt_nfs.h> #endif #include <nfsclient/nfsargs.h> diff --git a/freebsd/sys/nfsclient/nfsnode.h b/freebsd/sys/nfsclient/nfsnode.h index 3c6856dc..2ceeeda8 100644 --- a/freebsd/sys/nfsclient/nfsnode.h +++ b/freebsd/sys/nfsclient/nfsnode.h @@ -102,13 +102,17 @@ struct nfsnode { u_quad_t n_size; /* Current size of file */ u_quad_t n_brev; /* Modify rev when cached */ u_quad_t n_lrev; /* Modify rev for lease */ +#ifndef __rtems__ struct vattr n_vattr; /* Vnode attribute cache */ +#endif /* __rtems__ */ time_t n_attrstamp; /* Attr. cache timestamp */ struct nfs_accesscache n_accesscache[NFS_ACCESSCACHESIZE]; struct timespec n_mtime; /* Prev modify time. */ nfsfh_t *n_fhp; /* NFS File Handle */ +#ifndef __rtems__ struct vnode *n_vnode; /* associated vnode */ struct vnode *n_dvp; /* parent vnode */ +#endif /* __rtems__ */ int n_error; /* Save write error value */ union { struct timespec nf_atim; /* Special file times */ |