Commit 819a8f53 authored by J. Bruce Fields's avatar J. Bruce Fields

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: default avatarJ. Bruce Fields <bfields@citi.umich.edu>
parent fd03b099
...@@ -2059,9 +2059,6 @@ nfs4_preprocess_stateid_op(struct svc_fh *current_fh, stateid_t *stateid, int fl ...@@ -2059,9 +2059,6 @@ nfs4_preprocess_stateid_op(struct svc_fh *current_fh, stateid_t *stateid, int fl
struct inode *ino = current_fh->fh_dentry->d_inode; struct inode *ino = current_fh->fh_dentry->d_inode;
__be32 status; __be32 status;
dprintk("NFSD: preprocess_stateid_op: stateid = (%08x/%08x/%08x/%08x)\n",
stateid->si_boot, stateid->si_stateownerid,
stateid->si_fileid, stateid->si_generation);
if (filpp) if (filpp)
*filpp = NULL; *filpp = NULL;
...@@ -2078,10 +2075,8 @@ nfs4_preprocess_stateid_op(struct svc_fh *current_fh, stateid_t *stateid, int fl ...@@ -2078,10 +2075,8 @@ nfs4_preprocess_stateid_op(struct svc_fh *current_fh, stateid_t *stateid, int fl
status = nfserr_bad_stateid; status = nfserr_bad_stateid;
if (!stateid->si_fileid) { /* delegation stateid */ if (!stateid->si_fileid) { /* delegation stateid */
dp = find_delegation_stateid(ino, stateid); dp = find_delegation_stateid(ino, stateid);
if (!dp) { if (!dp)
dprintk("NFSD: delegation stateid not found\n");
goto out; goto out;
}
status = check_stateid_generation(stateid, &dp->dl_stateid); status = check_stateid_generation(stateid, &dp->dl_stateid);
if (status) if (status)
goto out; goto out;
...@@ -2095,10 +2090,8 @@ nfs4_preprocess_stateid_op(struct svc_fh *current_fh, stateid_t *stateid, int fl ...@@ -2095,10 +2090,8 @@ nfs4_preprocess_stateid_op(struct svc_fh *current_fh, stateid_t *stateid, int fl
*filpp = dp->dl_vfs_file; *filpp = dp->dl_vfs_file;
} else { /* open or lock stateid */ } else { /* open or lock stateid */
stp = find_stateid(stateid, flags); stp = find_stateid(stateid, flags);
if (!stp) { if (!stp)
dprintk("NFSD: open or lock stateid not found\n");
goto out; goto out;
}
if ((flags & CHECK_FH) && nfs4_check_fh(current_fh, stp)) if ((flags & CHECK_FH) && nfs4_check_fh(current_fh, stp))
goto out; goto out;
if (!stp->st_stateowner->so_confirmed) if (!stp->st_stateowner->so_confirmed)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment