From fba5d3c4dcd1fa79698728c26bef24f15b9f2f41 Mon Sep 17 00:00:00 2001 From: Trond Myklebust Date: Sat, 10 Apr 2004 21:30:19 -0700 Subject: NFSv4: use the (more efficient) NFSv2/v3-like XDR scheme for looking up the mountpoint. --- include/linux/nfs4.h | 1 + include/linux/nfs_xdr.h | 9 ++++----- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'include/linux') diff --git a/include/linux/nfs4.h b/include/linux/nfs4.h index 185998ba896c..1282973f8ffe 100644 --- a/include/linux/nfs4.h +++ b/include/linux/nfs4.h @@ -306,6 +306,7 @@ enum { NFSPROC4_CLNT_ACCESS, NFSPROC4_CLNT_GETATTR, NFSPROC4_CLNT_LOOKUP, + NFSPROC4_CLNT_LOOKUP_ROOT, }; #endif diff --git a/include/linux/nfs_xdr.h b/include/linux/nfs_xdr.h index b94596199ecb..d62d9089f6b8 100644 --- a/include/linux/nfs_xdr.h +++ b/include/linux/nfs_xdr.h @@ -550,10 +550,6 @@ struct nfs4_link { struct nfs4_change_info * ln_cinfo; /* response */ }; -struct nfs4_lookup { - struct qstr * lo_name; /* request */ -}; - struct nfs4_lookup_arg { const struct nfs_fh * dir_fh; const struct qstr * name; @@ -566,6 +562,10 @@ struct nfs4_lookup_res { struct nfs_fh * fh; }; +struct nfs4_lookup_root_arg { + const u32 * bitmask; +}; + struct nfs4_open { struct nfs4_client * op_client_state; /* request */ u32 op_share_access; /* request */ @@ -644,7 +644,6 @@ struct nfs4_op { struct nfs4_getattr getattr; struct nfs4_getfh getfh; struct nfs4_link link; - struct nfs4_lookup lookup; struct nfs4_open open; struct nfs4_open_confirm open_confirm; struct nfs4_putfh putfh; -- cgit v1.2.3