[pnfs] CVS: nfsv4
Marc Eshel IBM
eshel at citi.umich.edu
Thu Nov 30 11:43:19 EST 2006
CVSROOT: /cvs
Module name: nfsv4
Changes by: eshel at citi. 2006/11/30 11:43:19
Modified files:
cvs/pnfs/fs/nfsd: nfs4state.c
Log message:
Remove temporary code and use clientid to find client.
RCS file: /cvs/nfsv4/cvs/pnfs/fs/nfsd/nfs4state.c,v
retrieving revision 1.15
diff -u -r1.15 nfs4state.c
--- nfs4state.c 28 Nov 2006 22:37:52 -0000 1.15
+++ nfs4state.c 30 Nov 2006 16:39:13 -0000
@@ -3576,18 +3576,7 @@
get_nfs4_layout(lp);
}
else {
-#if 0 //???
- //???
clp = find_confirmed_client((clientid_t *)&lgp->lg_clientid);
-#else
- for (i = 0; i < CLIENT_HASH_SIZE; i++) {
- while (!list_empty(&conf_id_hashtbl[i])) {
- clp = list_entry(conf_id_hashtbl[i].next,
- struct nfs4_client, cl_idhash);
- break;
- }
- }
-#endif
dprintk("pNFS %s: clp %p \n", __FUNCTION__, clp);
More information about the pNFS
mailing list