diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2010-06-16 15:52:27 +0200 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2010-06-22 19:24:02 +0200 |
commit | c48f4f3541e67881c9eb7c46e052f5ece48ef530 (patch) | |
tree | 99e99c9ebff6dcf9da430b9e1654582138a2b1de /fs/nfs/nfs4renewd.c | |
parent | NFSv41: Clean up the NFSv4.1 minor version specific operations (diff) | |
download | linux-c48f4f3541e67881c9eb7c46e052f5ece48ef530.tar.xz linux-c48f4f3541e67881c9eb7c46e052f5ece48ef530.zip |
NFSv41: Convert the various reboot recovery ops etc to minor version ops
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/nfs4renewd.c')
-rw-r--r-- | fs/nfs/nfs4renewd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/nfs/nfs4renewd.c b/fs/nfs/nfs4renewd.c index d87f10327b72..72b6c580af13 100644 --- a/fs/nfs/nfs4renewd.c +++ b/fs/nfs/nfs4renewd.c @@ -54,14 +54,14 @@ void nfs4_renew_state(struct work_struct *work) { - struct nfs4_state_maintenance_ops *ops; + const struct nfs4_state_maintenance_ops *ops; struct nfs_client *clp = container_of(work, struct nfs_client, cl_renewd.work); struct rpc_cred *cred; long lease; unsigned long last, now; - ops = nfs4_state_renewal_ops[clp->cl_minorversion]; + ops = clp->cl_mvops->state_renewal_ops; dprintk("%s: start\n", __func__); /* Are there any active superblocks? */ if (list_empty(&clp->cl_superblocks)) |