nfsd4: remove unused nfs4_check_deleg argument
authorJ. Bruce Fields <bfields@redhat.com>
Thu, 21 Mar 2013 19:49:47 +0000 (15:49 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Thu, 4 Apr 2013 17:25:17 +0000 (13:25 -0400)
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4state.c

index aae93045ce6b551844179e8031d17b1a54951d80..795b24d82d18623649833ddbe6fdace878c11d52 100644 (file)
@@ -2737,7 +2737,7 @@ static bool nfsd4_is_deleg_cur(struct nfsd4_open *open)
 }
 
 static __be32
-nfs4_check_deleg(struct nfs4_client *cl, struct nfs4_file *fp, struct nfsd4_open *open,
+nfs4_check_deleg(struct nfs4_client *cl, struct nfsd4_open *open,
                struct nfs4_delegation **dp)
 {
        int flags;
@@ -3062,7 +3062,7 @@ nfsd4_process_open2(struct svc_rqst *rqstp, struct svc_fh *current_fh, struct nf
        if (fp) {
                if ((status = nfs4_check_open(fp, open, &stp)))
                        goto out;
-               status = nfs4_check_deleg(cl, fp, open, &dp);
+               status = nfs4_check_deleg(cl, open, &dp);
                if (status)
                        goto out;
        } else {