aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfsd/nfs4state.c
diff options
context:
space:
mode:
authorJ. Bruce Fields <bfields@citi.umich.edu>2009-02-21 15:13:24 -0500
committerJ. Bruce Fields <bfields@citi.umich.edu>2009-03-18 17:30:52 -0400
commit819a8f539acf7838d62fec20e88401ff53303cd1 (patch)
tree6eb00748efb8b39a3383c9a21cd2061a1b783188 /fs/nfsd/nfs4state.c
parentfd03b09906c32aea7b47f1275c9cd6034141159d (diff)
nfsd4: remove some dprintk's
I can't recall ever seeing these printk's used to debug a problem. I'll happily put them back if we see a case where they'd be useful. (Though if we do that the find_XXX() errors would probably be better reported in find_XXX() functions themselves.) Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Diffstat (limited to 'fs/nfsd/nfs4state.c')
-rw-r--r--fs/nfsd/nfs4state.c11
1 files changed, 2 insertions, 9 deletions
diff --git a/fs/nfsd/nfs4state.c b/fs/nfsd/nfs4state.c
index 099938ebc9d3..909a7a493688 100644
--- a/fs/nfsd/nfs4state.c
+++ b/fs/nfsd/nfs4state.c
@@ -2059,9 +2059,6 @@ nfs4_preprocess_stateid_op(struct svc_fh *current_fh, stateid_t *stateid, int fl
2059 struct inode *ino = current_fh->fh_dentry->d_inode; 2059 struct inode *ino = current_fh->fh_dentry->d_inode;
2060 __be32 status; 2060 __be32 status;
2061 2061
2062 dprintk("NFSD: preprocess_stateid_op: stateid = (%08x/%08x/%08x/%08x)\n",
2063 stateid->si_boot, stateid->si_stateownerid,
2064 stateid->si_fileid, stateid->si_generation);
2065 if (filpp) 2062 if (filpp)
2066 *filpp = NULL; 2063 *filpp = NULL;
2067 2064
@@ -2078,10 +2075,8 @@ nfs4_preprocess_stateid_op(struct svc_fh *current_fh, stateid_t *stateid, int fl
2078 status = nfserr_bad_stateid; 2075 status = nfserr_bad_stateid;
2079 if (!stateid->si_fileid) { /* delegation stateid */ 2076 if (!stateid->si_fileid) { /* delegation stateid */
2080 dp = find_delegation_stateid(ino, stateid); 2077 dp = find_delegation_stateid(ino, stateid);
2081 if (!dp) { 2078 if (!dp)
2082 dprintk("NFSD: delegation stateid not found\n");
2083 goto out; 2079 goto out;
2084 }
2085 status = check_stateid_generation(stateid, &dp->dl_stateid); 2080 status = check_stateid_generation(stateid, &dp->dl_stateid);
2086 if (status) 2081 if (status)
2087 goto out; 2082 goto out;
@@ -2095,10 +2090,8 @@ nfs4_preprocess_stateid_op(struct svc_fh *current_fh, stateid_t *stateid, int fl
2095 *filpp = dp->dl_vfs_file; 2090 *filpp = dp->dl_vfs_file;
2096 } else { /* open or lock stateid */ 2091 } else { /* open or lock stateid */
2097 stp = find_stateid(stateid, flags); 2092 stp = find_stateid(stateid, flags);
2098 if (!stp) { 2093 if (!stp)
2099 dprintk("NFSD: open or lock stateid not found\n");
2100 goto out; 2094 goto out;
2101 }
2102 if ((flags & CHECK_FH) && nfs4_check_fh(current_fh, stp)) 2095 if ((flags & CHECK_FH) && nfs4_check_fh(current_fh, stp))
2103 goto out; 2096 goto out;
2104 if (!stp->st_stateowner->so_confirmed) 2097 if (!stp->st_stateowner->so_confirmed)