summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeff Layton <jlayton@poochiereds.net>2015-03-23 10:53:43 -0400
committerJ. Bruce Fields <bfields@redhat.com>2015-03-31 16:46:39 -0400
commitfc26c3860a6a4a9396f401024f1cc91a95a59143 (patch)
tree26fdb49b29498bd07c160eb9df09cc0a580806d2
parentbeaca2347f1b7986376e3906dfa7615a9d6f53d8 (diff)
downloadlinux-fc26c3860a6a4a9396f401024f1cc91a95a59143.tar.bz2
nfsd: remove bogus setting of status in nfsd4_process_open2
status is always reset after this (and it doesn't make much sense there anyway). Signed-off-by: Jeff Layton <jeff.layton@primarydata.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
-rw-r--r--fs/nfsd/nfs4state.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/nfsd/nfs4state.c b/fs/nfsd/nfs4state.c
index 8ba1d888f1e6..1596b1352bc5 100644
--- a/fs/nfsd/nfs4state.c
+++ b/fs/nfsd/nfs4state.c
@@ -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;
}
/*