aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfsd/nfs4proc.c
diff options
context:
space:
mode:
authorJ. Bruce Fields <bfields@citi.umich.edu>2009-02-21 16:36:16 -0500
committerJ. Bruce Fields <bfields@citi.umich.edu>2009-03-18 17:38:37 -0400
commit6150ef0dc7f734366d297e2eb5697ae458a1ea19 (patch)
tree0a11653b66953b808d2a1a98dc8da0f649c875f3 /fs/nfsd/nfs4proc.c
parent7e0f7cf582abd6c85232331dfe726a4e4b0fd98e (diff)
nfsd4: remove unused CHECK_FH flag
All users now pass this, so it's meaningless. Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Diffstat (limited to 'fs/nfsd/nfs4proc.c')
-rw-r--r--fs/nfsd/nfs4proc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/nfsd/nfs4proc.c b/fs/nfsd/nfs4proc.c
index af66073ed423..77f584f69dfe 100644
--- a/fs/nfsd/nfs4proc.c
+++ b/fs/nfsd/nfs4proc.c
@@ -519,7 +519,7 @@ nfsd4_read(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate,
519 /* check stateid */ 519 /* check stateid */
520 if ((status = nfs4_preprocess_stateid_op(&cstate->current_fh, 520 if ((status = nfs4_preprocess_stateid_op(&cstate->current_fh,
521 &read->rd_stateid, 521 &read->rd_stateid,
522 CHECK_FH | RD_STATE, &read->rd_filp))) { 522 RD_STATE, &read->rd_filp))) {
523 dprintk("NFSD: nfsd4_read: couldn't process stateid!\n"); 523 dprintk("NFSD: nfsd4_read: couldn't process stateid!\n");
524 goto out; 524 goto out;
525 } 525 }
@@ -651,7 +651,7 @@ nfsd4_setattr(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate,
651 if (setattr->sa_iattr.ia_valid & ATTR_SIZE) { 651 if (setattr->sa_iattr.ia_valid & ATTR_SIZE) {
652 nfs4_lock_state(); 652 nfs4_lock_state();
653 status = nfs4_preprocess_stateid_op(&cstate->current_fh, 653 status = nfs4_preprocess_stateid_op(&cstate->current_fh,
654 &setattr->sa_stateid, CHECK_FH | WR_STATE, NULL); 654 &setattr->sa_stateid, WR_STATE, NULL);
655 nfs4_unlock_state(); 655 nfs4_unlock_state();
656 if (status) { 656 if (status) {
657 dprintk("NFSD: nfsd4_setattr: couldn't process stateid!\n"); 657 dprintk("NFSD: nfsd4_setattr: couldn't process stateid!\n");
@@ -690,7 +690,7 @@ nfsd4_write(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate,
690 690
691 nfs4_lock_state(); 691 nfs4_lock_state();
692 status = nfs4_preprocess_stateid_op(&cstate->current_fh, stateid, 692 status = nfs4_preprocess_stateid_op(&cstate->current_fh, stateid,
693 CHECK_FH | WR_STATE, &filp); 693 WR_STATE, &filp);
694 if (filp) 694 if (filp)
695 get_file(filp); 695 get_file(filp);
696 nfs4_unlock_state(); 696 nfs4_unlock_state();