aboutsummaryrefslogtreecommitdiffstats
path: root/net/sunrpc
diff options
context:
space:
mode:
Diffstat (limited to 'net/sunrpc')
-rw-r--r--net/sunrpc/svc.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/net/sunrpc/svc.c b/net/sunrpc/svc.c
index 3ee7461926d8..be301e1c1290 100644
--- a/net/sunrpc/svc.c
+++ b/net/sunrpc/svc.c
@@ -1035,7 +1035,7 @@ static void svc_unregister(const struct svc_serv *serv, struct net *net)
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 */
1040static __printf(2, 3) 1040static __printf(2, 3)
1041void svc_printk(struct svc_rqst *rqstp, const char *fmt, ...) 1041void svc_printk(struct svc_rqst *rqstp, const char *fmt, ...)
@@ -1049,8 +1049,7 @@ void svc_printk(struct svc_rqst *rqstp, const char *fmt, ...)
1049 vaf.fmt = fmt; 1049 vaf.fmt = fmt;
1050 vaf.va = &args; 1050 vaf.va = &args;
1051 1051
1052 net_warn_ratelimited("svc: %s: %pV", 1052 dprintk("svc: %s: %pV", svc_print_addr(rqstp, buf, sizeof(buf)), &vaf);
1053 svc_print_addr(rqstp, buf, sizeof(buf)), &vaf);
1054 1053
1055 va_end(args); 1054 va_end(args);
1056} 1055}