]> git.karo-electronics.de Git - linux-beck.git/blobdiff - fs/nfsd/nfs4layouts.c
Make UART4 the default UART for kernel messages
[linux-beck.git] / fs / nfsd / nfs4layouts.c
index 42aace4fc4c807ec9f41e590e777f8f8f94d7803..64813697f4c4e26f02b245e83df6008ba7b7d801 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;