aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorJ. Bruce Fields <bfields@citi.umich.edu>2009-03-14 16:38:41 -0400
committerJ. Bruce Fields <bfields@citi.umich.edu>2009-03-18 17:38:41 -0400
commit5cb031b0afddad73ea4191c9f0b76d20ca447dc0 (patch)
tree74026ee23585761839ce703003e19587f2b9dbd9 /fs
parent05f4f678b0511a24795a017b5332455077be3b1c (diff)
nfsd4: remove redundant check from nfsd4_open
Note that we already checked for this invalid case at the top of this function. Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Diffstat (limited to 'fs')
-rw-r--r--fs/nfsd/nfs4proc.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/fs/nfsd/nfs4proc.c b/fs/nfsd/nfs4proc.c
index 36d74cda87a..f156b85b412 100644
--- a/fs/nfsd/nfs4proc.c
+++ b/fs/nfsd/nfs4proc.c
@@ -206,10 +206,6 @@ nfsd4_open(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate,
206 206
207 switch (open->op_claim_type) { 207 switch (open->op_claim_type) {
208 case NFS4_OPEN_CLAIM_DELEGATE_CUR: 208 case NFS4_OPEN_CLAIM_DELEGATE_CUR:
209 status = nfserr_inval;
210 if (open->op_create)
211 goto out;
212 /* fall through */
213 case NFS4_OPEN_CLAIM_NULL: 209 case NFS4_OPEN_CLAIM_NULL:
214 /* 210 /*
215 * (1) set CURRENT_FH to the file being opened, 211 * (1) set CURRENT_FH to the file being opened,