[PATCH 26/29] nfsd41: fix nfsd4_store_cache_entry dprintk

andros
2009-04-23T16:43:35Z

fs/nfsd/nfs4state.c | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/fs/nfsd/nfs4state.c b/fs/nfsd/nfs4state.c
index 1e995ec..6be72ad 100644
--- a/fs/nfsd/nfs4state.c
+++ b/fs/nfsd/nfs4state.c
@@ -1012,7 +1012,7 @@ nfsd4_store_cache_entry(struct nfsd4_compoundres *resp)
struct nfsd4_compoundargs *args = rqstp->rq_argp;
struct nfsd4_op *op = &args->ops[resp->opcnt];

- dprintk("--> %s entry %p\n", __func__, entry);
+ dprintk("--> %s cachethis %d\n", __func__, entry->ce_cachethis);

/* Don't cache a failed OP_SEQUENCE. */
if (resp->opcnt == 1 && op->opnum == OP_SEQUENCE && resp->cstate.status)
@@ -1024,8 +1024,6 @@ nfsd4_store_cache_entry(struct nfsd4_compoundres *resp)
/* Don't cache the sequence operation, use the slot values on replay. */
if (nfsd4_not_cached(resp)) {
entry->ce_datav.iov_len = 0;
- dprintk("%s Just cache SEQUENCE. ce_cachethis %d\n", __func__,
- resp->cstate.slot->sl_cache_entry.ce_cachethis);
return 0;
}

--
1.5.4.3