From: Fabian Frederick Date: Thu, 22 May 2014 00:42:23 +0000 (+1000) Subject: fs/ceph/debugfs.c: replace seq_printf by seq_puts X-Git-Tag: next-20140530~2^2~463 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=89c93cfb3b969cba602bf49dd3e07ef068a8e649;p=karo-tx-linux.git fs/ceph/debugfs.c: replace seq_printf by seq_puts Replace seq_printf where possible. Signed-off-by: Fabian Frederick Cc: Sage Weil Signed-off-by: Andrew Morton --- diff --git a/fs/ceph/debugfs.c b/fs/ceph/debugfs.c index 16b54aa31f08..5a743ac141ab 100644 --- a/fs/ceph/debugfs.c +++ b/fs/ceph/debugfs.c @@ -71,9 +71,9 @@ static int mdsc_show(struct seq_file *s, void *p) seq_printf(s, "%s", ceph_mds_op_name(req->r_op)); if (req->r_got_unsafe) - seq_printf(s, "\t(unsafe)"); + seq_puts(s, "\t(unsafe)"); else - seq_printf(s, "\t"); + seq_puts(s, "\t"); if (req->r_inode) { seq_printf(s, " #%llx", ceph_ino(req->r_inode)); @@ -119,7 +119,7 @@ static int mdsc_show(struct seq_file *s, void *p) seq_printf(s, " %s", req->r_path2); } - seq_printf(s, "\n"); + seq_puts(s, "\n"); } mutex_unlock(&mdsc->mutex);