]> Pileus Git - ~andy/linux/blobdiff - fs/nfsd/nfscache.c
regmap: Include the last register in debugfs output
[~andy/linux] / fs / nfsd / nfscache.c
index 4666a209678a4d88ee0b1aea08078407df9b0938..2cbac34a55da1ac6cebeefabe2bdfdd5b883b9f7 100644 (file)
@@ -118,7 +118,7 @@ hash_refile(struct svc_cacherep *rp)
  * Note that no operation within the loop may sleep.
  */
 int
-nfsd_cache_lookup(struct svc_rqst *rqstp, int type)
+nfsd_cache_lookup(struct svc_rqst *rqstp)
 {
        struct hlist_node       *hn;
        struct hlist_head       *rh;
@@ -128,6 +128,7 @@ nfsd_cache_lookup(struct svc_rqst *rqstp, int type)
                                vers = rqstp->rq_vers,
                                proc = rqstp->rq_proc;
        unsigned long           age;
+       int type = rqstp->rq_cachetype;
        int rtn;
 
        rqstp->rq_cacherep = NULL;