Commit 7032a3dd923f434132643321ad5faad128611f9e

Authored by J. Bruce Fields
1 parent 7c1f8b65af

svcrpc: demote some printks to a dprintk

In general I'd rather random bad behavior on the network won't trigger a
printk.

Signed-off-by: J. Bruce Fields <bfields@redhat.com>

Showing 1 changed file with 2 additions and 3 deletions Side-by-side Diff

... ... @@ -1035,7 +1035,7 @@
1035 1035 }
1036 1036  
1037 1037 /*
1038   - * Printk the given error with the address of the client that caused it.
  1038 + * dprintk the given error with the address of the client that caused it.
1039 1039 */
1040 1040 static __printf(2, 3)
1041 1041 void svc_printk(struct svc_rqst *rqstp, const char *fmt, ...)
... ... @@ -1049,8 +1049,7 @@
1049 1049 vaf.fmt = fmt;
1050 1050 vaf.va = &args;
1051 1051  
1052   - net_warn_ratelimited("svc: %s: %pV",
1053   - svc_print_addr(rqstp, buf, sizeof(buf)), &vaf);
  1052 + dprintk("svc: %s: %pV", svc_print_addr(rqstp, buf, sizeof(buf)), &vaf);
1054 1053  
1055 1054 va_end(args);
1056 1055 }