[pnfs] [PATCH 02/17] [SQUASHME] nfs41: revert minorversion 1 initialization in nfs4_init_client
Benny Halevy
bhalevy at panasas.com
Tue Jun 3 13:38:43 EDT 2008
This is already done in alloc_client.
This was erroneously introduced when porting the patchset to 2.6.25.
Signed-off-by: Benny Halevy <bhalevy at panasas.com>
---
fs/nfs/client.c | 5 -----
1 files changed, 0 insertions(+), 5 deletions(-)
diff --git a/fs/nfs/client.c b/fs/nfs/client.c
index d076677..4aae011 100644
--- a/fs/nfs/client.c
+++ b/fs/nfs/client.c
@@ -975,11 +975,6 @@ static int nfs4_init_client(struct nfs_client *clp,
return 0;
}
- if (clp->cl_minorversion == 1) {
- clp->cl_boot_time = CURRENT_TIME;
- clp->cl_state = 1 << NFS4CLNT_LEASE_EXPIRED;
- }
-
/* Check NFS protocol revision and initialize RPC op vector */
clp->rpc_ops = nfsv4_minorversion_clientops[clp->cl_minorversion];
nfs4_procedures = nfs4_minorversion_procedures[clp->cl_minorversion];
--
1.5.3.3
More information about the pNFS
mailing list