diff options
author | Fabian Frederick <fabf@skynet.be> | 2014-06-06 17:35:38 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-06-06 19:08:06 -0400 |
commit | 3364d113c8209feee425b0f8a770b51e6132c43f (patch) | |
tree | 79dd030e606a9f29ab2b8f0dc02be905508fffa9 /fs/ceph | |
parent | f3ae1b97be14ff10da8f02309ba04bed2ba035bc (diff) |
fs/ceph/debugfs.c: replace seq_printf by seq_puts
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>
Diffstat (limited to 'fs/ceph')
-rw-r--r-- | fs/ceph/debugfs.c | 6 |
1 files changed, 3 insertions, 3 deletions
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) | |||
71 | seq_printf(s, "%s", ceph_mds_op_name(req->r_op)); | 71 | seq_printf(s, "%s", ceph_mds_op_name(req->r_op)); |
72 | 72 | ||
73 | if (req->r_got_unsafe) | 73 | if (req->r_got_unsafe) |
74 | seq_printf(s, "\t(unsafe)"); | 74 | seq_puts(s, "\t(unsafe)"); |
75 | else | 75 | else |
76 | seq_printf(s, "\t"); | 76 | seq_puts(s, "\t"); |
77 | 77 | ||
78 | if (req->r_inode) { | 78 | if (req->r_inode) { |
79 | seq_printf(s, " #%llx", ceph_ino(req->r_inode)); | 79 | seq_printf(s, " #%llx", ceph_ino(req->r_inode)); |
@@ -119,7 +119,7 @@ static int mdsc_show(struct seq_file *s, void *p) | |||
119 | seq_printf(s, " %s", req->r_path2); | 119 | seq_printf(s, " %s", req->r_path2); |
120 | } | 120 | } |
121 | 121 | ||
122 | seq_printf(s, "\n"); | 122 | seq_puts(s, "\n"); |
123 | } | 123 | } |
124 | mutex_unlock(&mdsc->mutex); | 124 | mutex_unlock(&mdsc->mutex); |
125 | 125 | ||