summaryrefslogtreecommitdiff
path: root/fs/nfsd/nfs4state.c
diff options
context:
space:
mode:
authorJeff Layton <jlayton@poochiereds.net>2015-03-23 17:53:43 +0300
committerJ. Bruce Fields <bfields@redhat.com>2015-03-31 23:46:39 +0300
commitfc26c3860a6a4a9396f401024f1cc91a95a59143 (patch)
tree26fdb49b29498bd07c160eb9df09cc0a580806d2 /fs/nfsd/nfs4state.c
parentbeaca2347f1b7986376e3906dfa7615a9d6f53d8 (diff)
downloadlinux-fc26c3860a6a4a9396f401024f1cc91a95a59143.tar.xz
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>
Diffstat (limited to 'fs/nfsd/nfs4state.c')
-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;
}
/*