]> Git Repo - linux.git/blobdiff - fs/nfsd/nfs4layouts.c
Merge tag 'driver-core-4.11-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux.git] / fs / nfsd / nfs4layouts.c
index e06a4ae5f3ad2fcdd5e402db485ed56df0ba4833..e122da696f1b17abc1befa94b95f3a9396d52757 100644 (file)
@@ -223,10 +223,11 @@ nfsd4_alloc_layout_stateid(struct nfsd4_compound_state *cstate,
        struct nfs4_layout_stateid *ls;
        struct nfs4_stid *stp;
 
-       stp = nfs4_alloc_stid(cstate->clp, nfs4_layout_stateid_cache);
+       stp = nfs4_alloc_stid(cstate->clp, nfs4_layout_stateid_cache,
+                                       nfsd4_free_layout_stateid);
        if (!stp)
                return NULL;
-       stp->sc_free = nfsd4_free_layout_stateid;
+
        get_nfs4_file(fp);
        stp->sc_file = fp;
 
This page took 0.029443 seconds and 4 git commands to generate.