Merge branch 'bkl/core' of git://git.kernel.org/pub/scm/linux/kernel/git/frederic...
[sfrench/cifs-2.6.git] / fs / nfs / nfs4renewd.c
index d87f10327b72a8bdd8ea0e23f4050685b2f12a7a..72b6c580af13b152c76cc4c648346b25badb690d 100644 (file)
 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))