瀏覽代碼

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>
Jeff Layton 10 年之前
父節點
當前提交
fc26c3860a
共有 1 個文件被更改,包括 0 次插入1 次删除
  1. 0 1
      fs/nfsd/nfs4state.c

+ 0 - 1
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;
 	}
 
 	/*