}
 
 static struct nfsd_file *
-nfsd_file_alloc(struct inode *inode, unsigned int may, unsigned int hashval,
-               struct net *net)
+nfsd_file_alloc(struct inode *inode, unsigned int may, struct net *net)
 {
        struct nfsd_file *nf;
 
                nf->nf_net = net;
                nf->nf_flags = 0;
                nf->nf_inode = inode;
-               nf->nf_hashval = hashval;
                refcount_set(&nf->nf_ref, 1);
                nf->nf_may = may & NFSD_FILE_MAY_MASK;
                nf->nf_mark = NULL;
        if (nf)
                goto wait_for_construction;
 
-       new = nfsd_file_alloc(inode, may_flags, hashval, net);
+       new = nfsd_file_alloc(inode, may_flags, net);
        if (!new) {
                status = nfserr_jukebox;
                goto out_status;