summaryrefslogtreecommitdiff
path: root/freebsd/sys/nfsclient/nfsnode.h
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2021-07-29 15:49:52 +1000
committerChris Johns <chrisj@rtems.org>2021-08-26 14:42:54 +1000
commit5c44bdef4ed4952fe103dbe2eaf2805cddbd3e6e (patch)
tree20f75e9514270d794673513160cc7a74bfc2007d /freebsd/sys/nfsclient/nfsnode.h
parentde87c034faeeb7d386bc6c61be8ebf8364254337 (diff)
kern/sys: Add NFSv4 clientp6-4475-nfs
Close #4475
Diffstat (limited to 'freebsd/sys/nfsclient/nfsnode.h')
-rw-r--r--freebsd/sys/nfsclient/nfsnode.h4
1 files changed, 4 insertions, 0 deletions
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 */