diff options
| author | Amitoj Kaur Chawla <amitoj1606@gmail.com> | 2015-10-26 22:37:26 +0530 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-10-27 14:37:09 +0900 |
| commit | 8d816fb6cd4fa52f3efab89802dfa9d3e8371d77 (patch) | |
| tree | b162e8c75df669e1b6ce51a7372a52d21578cb25 | |
| parent | 70003e65208539658cdcb90c978e10b010a477a8 (diff) | |
staging: lustre: ptlrpc: Replace seq_printf() with seq_putc()
Replace seq_printf() with seq_putc() since it is more expensive than
seq_putc().
Signed-off-by: Amitoj Kaur Chawla <amitoj1606@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
| -rw-r--r-- | drivers/staging/lustre/lustre/ptlrpc/lproc_ptlrpc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/lustre/lustre/ptlrpc/lproc_ptlrpc.c b/drivers/staging/lustre/lustre/ptlrpc/lproc_ptlrpc.c index bc5437e85c6a..35044634c9db 100644 --- a/drivers/staging/lustre/lustre/ptlrpc/lproc_ptlrpc.c +++ b/drivers/staging/lustre/lustre/ptlrpc/lproc_ptlrpc.c @@ -928,7 +928,7 @@ static int ptlrpc_lprocfs_svc_req_history_show(struct seq_file *s, void *iter) (long)(req->rq_sent - req->rq_arrival_time.tv_sec), (long)(req->rq_sent - req->rq_deadline)); if (svc->srv_ops.so_req_printer == NULL) - seq_printf(s, "\n"); + seq_putc(s, '\n'); else svc->srv_ops.so_req_printer(s, srhi->srhi_req); } |
