From: Fabian Frederick Date: Fri, 6 Jun 2014 21:35:38 +0000 (-0700) Subject: fs/ceph/debugfs.c: replace seq_printf by seq_puts X-Git-Tag: android-x86-4.4-r2~1058^2~4^2~167 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=3364d113c8209feee425b0f8a770b51e6132c43f;p=android-x86%2Fkernel.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 Signed-off-by: Linus Torvalds --- 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);