summaryrefslogtreecommitdiffstats
path: root/sys/nfsclient/nfsnode.h
diff options
context:
space:
mode:
authoralfred <alfred@FreeBSD.org>2003-11-22 02:21:49 +0000
committeralfred <alfred@FreeBSD.org>2003-11-22 02:21:49 +0000
commita5dc4dbeb8e0b6441dd96ff20dedbfab26711445 (patch)
treed25562b1277a5d3728ec70c624f0765ad7489560 /sys/nfsclient/nfsnode.h
parent01495655d6f56175f06ef7111769b7a049a266af (diff)
downloadFreeBSD-src-a5dc4dbeb8e0b6441dd96ff20dedbfab26711445.zip
FreeBSD-src-a5dc4dbeb8e0b6441dd96ff20dedbfab26711445.tar.gz
Use function pointers to remove the depenancy cross dependancy on nfs4
and the nfs3 client. Also fix some bugs that happen to be causing crashes in both v3 and v4 introduced by the v4 import. Submitted by: Jim Rees <rees@umich.edu> Approved by: re
Diffstat (limited to 'sys/nfsclient/nfsnode.h')
-rw-r--r--sys/nfsclient/nfsnode.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/nfsclient/nfsnode.h b/sys/nfsclient/nfsnode.h
index 76019cd..899510b 100644
--- a/sys/nfsclient/nfsnode.h
+++ b/sys/nfsclient/nfsnode.h
@@ -128,11 +128,7 @@ struct nfsnode {
struct lock n_rslock;
struct nfs4_fctx n_rfc;
struct nfs4_fctx n_wfc;
- /*
- * The last component name is needed for the NFSv4 OPEN
- * operation.
- */
- u_char *n_name;
+ u_char *n_name; /* leaf name, for v4 OPEN op */
uint32_t n_namelen;
};
OpenPOWER on IntegriCloud