nfsd: remove bogus setting of status in nfsd4_process_open2
authorJeff Layton <[email protected]>
Mon, 23 Mar 2015 14:53:43 +0000 (10:53 -0400)
committerJ. Bruce Fields <[email protected]>
Tue, 31 Mar 2015 20:46:39 +0000 (16:46 -0400)
status is always reset after this (and it doesn't make much sense there
anyway).

Signed-off-by: Jeff Layton <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Signed-off-by: J. Bruce Fields <[email protected]>
fs/nfsd/nfs4state.c

index 8ba1d888f1e624d672453bd1eea20c40e054f746..1596b1352bc5fa0e7fbc91c8b5361bca27bfe208 100644 (file)
@@ -4049,7 +4049,6 @@ nfsd4_process_open2(struct svc_rqst *rqstp, struct svc_fh *current_fh, struct nf
                status = nfserr_bad_stateid;
                if (nfsd4_is_deleg_cur(open))
                        goto out;
-               status = nfserr_jukebox;
        }
 
        /*