NFS: Reduce debugging noise from encode_compound_hdr
authorChuck Lever <chuck.lever@oracle.com>
Fri, 2 Mar 2012 21:58:56 +0000 (16:58 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 2 Mar 2012 22:18:10 +0000 (17:18 -0500)
Get rid of

  encode_compound: tag=

when XDR debugging is enabled.  The current Linux client never sets
compound tags.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/nfs4xdr.c

index 3e0fe9f..7d3ba1f 100644 (file)
@@ -906,7 +906,6 @@ static void encode_compound_hdr(struct xdr_stream *xdr,
         * but this is not required as a MUST for the server to do so. */
        hdr->replen = RPC_REPHDRSIZE + auth->au_rslack + 3 + hdr->taglen;
 
-       dprintk("encode_compound: tag=%.*s\n", (int)hdr->taglen, hdr->tag);
        BUG_ON(hdr->taglen > NFS4_MAXTAGLEN);
        p = reserve_space(xdr, 4 + hdr->taglen + 8);
        p = xdr_encode_opaque(p, hdr->tag, hdr->taglen);