aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAndy Adamson <andros@netapp.com>2009-04-03 01:28:05 -0400
committerJ. Bruce Fields <bfields@citi.umich.edu>2009-04-03 20:41:15 -0400
commita1bcecd29cdf1670df6908a620add4211c0abb7a (patch)
treea4323b21675db5a47a45f5d292fef468b9786007 /include
parent0733d21338747483985a5964e852af160d88e429 (diff)
nfsd41: match clientid establishment method
We need to distinguish between client names provided by NFSv4.0 clients SETCLIENTID and those provided by NFSv4.1 via EXCHANGE_ID when looking up the clientid by string. Signed-off-by: Benny Halevy <bhalevy@panasas.com> Signed-off-by: Andy Adamson <andros@netapp.com> [nfsd41: use boolean values for use_exchange_id argument] Signed-off-by: Benny Halevy <bhalevy@panasas.com> [nfsd41: simplify match_clientid_establishment logic] Signed-off-by: Benny Halevy <bhalevy@panasas.com> Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Diffstat (limited to 'include')
-rw-r--r--include/linux/nfsd/state.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/nfsd/state.h b/include/linux/nfsd/state.h
index 8d0b10167937..90829db76861 100644
--- a/include/linux/nfsd/state.h
+++ b/include/linux/nfsd/state.h
@@ -330,7 +330,7 @@ extern void nfsd4_init_recdir(char *recdir_name);
330extern int nfsd4_recdir_load(void); 330extern int nfsd4_recdir_load(void);
331extern void nfsd4_shutdown_recdir(void); 331extern void nfsd4_shutdown_recdir(void);
332extern int nfs4_client_to_reclaim(const char *name); 332extern int nfs4_client_to_reclaim(const char *name);
333extern int nfs4_has_reclaimed_state(const char *name); 333extern int nfs4_has_reclaimed_state(const char *name, bool use_exchange_id);
334extern void nfsd4_recdir_purge_old(void); 334extern void nfsd4_recdir_purge_old(void);
335extern int nfsd4_create_clid_dir(struct nfs4_client *clp); 335extern int nfsd4_create_clid_dir(struct nfs4_client *clp);
336extern void nfsd4_remove_clid_dir(struct nfs4_client *clp); 336extern void nfsd4_remove_clid_dir(struct nfs4_client *clp);