projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
05f4f67
)
nfsd4: remove redundant check from nfsd4_open
author
J. Bruce Fields
<bfields@citi.umich.edu>
Sat, 14 Mar 2009 20:38:41 +0000
(16:38 -0400)
committer
J. Bruce Fields
<bfields@citi.umich.edu>
Wed, 18 Mar 2009 21:38:41 +0000
(17:38 -0400)
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>
fs/nfsd/nfs4proc.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/nfsd/nfs4proc.c
b/fs/nfsd/nfs4proc.c
index 36d74cda87a8dfe52cdf14b8188c5472874e8f6e..f156b85b4129b26d4da961130ac3cf36bf69173f 100644
(file)
--- 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,
switch (open->op_claim_type) {
case NFS4_OPEN_CLAIM_DELEGATE_CUR:
- status = nfserr_inval;
- if (open->op_create)
- goto out;
- /* fall through */
case NFS4_OPEN_CLAIM_NULL:
/*
* (1) set CURRENT_FH to the file being opened,