Skip to content

Commit

Permalink
fs/ceph/debugfs.c: replace seq_printf by seq_puts
Browse files Browse the repository at this point in the history
Replace seq_printf where possible.

Signed-off-by: Fabian Frederick <fabf@skynet.be>
Cc: Sage Weil <sage@inktank.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Fabian Frederick authored and Linus Torvalds committed Jun 6, 2014
1 parent f3ae1b9 commit 3364d11
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions fs/ceph/debugfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down Expand Up @@ -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);

Expand Down

0 comments on commit 3364d11

Please sign in to comment.