fs/hfsplus/options.c: replace seq_printf by seq_puts
authorFabian Frederick <fabf@skynet.be>
Fri, 6 Jun 2014 21:36:26 +0000 (14:36 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 6 Jun 2014 23:08:10 +0000 (16:08 -0700)
Replace seq_printf where possible

Signed-off-by: Fabian Frederick <fabf@skynet.be>
Cc: Vyacheslav Dubeyko <slava@dubeyko.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/hfsplus/options.c

index 68537e8b7a0934859048ecd4cfb0e67cdcb6b819..c90b72ee676d8a022dd47b8577be6f6a40967425 100644 (file)
@@ -173,9 +173,8 @@ int hfsplus_parse_options(char *input, struct hfsplus_sb_info *sbi)
                        if (p)
                                sbi->nls = load_nls(p);
                        if (!sbi->nls) {
-                               pr_err("unable to load "
-                                               "nls mapping \"%s\"\n",
-                                       p);
+                               pr_err("unable to load nls mapping \"%s\"\n",
+                                      p);
                                kfree(p);
                                return 0;
                        }
@@ -232,8 +231,8 @@ int hfsplus_show_options(struct seq_file *seq, struct dentry *root)
        if (sbi->nls)
                seq_printf(seq, ",nls=%s", sbi->nls->charset);
        if (test_bit(HFSPLUS_SB_NODECOMPOSE, &sbi->flags))
-               seq_printf(seq, ",nodecompose");
+               seq_puts(seq, ",nodecompose");
        if (test_bit(HFSPLUS_SB_NOBARRIER, &sbi->flags))
-               seq_printf(seq, ",nobarrier");
+               seq_puts(seq, ",nobarrier");
        return 0;
 }