Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d8983ca0 authored by Fabian Frederick's avatar Fabian Frederick Committed by Linus Torvalds
Browse files

fs/hfsplus/options.c: replace seq_printf by seq_puts



Replace seq_printf where possible

Signed-off-by: default avatarFabian Frederick <fabf@skynet.be>
Cc: Vyacheslav Dubeyko <slava@dubeyko.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent e46707d1
Loading
Loading
Loading
Loading
+4 −5
Original line number Original line Diff line number Diff line
@@ -173,8 +173,7 @@ int hfsplus_parse_options(char *input, struct hfsplus_sb_info *sbi)
			if (p)
			if (p)
				sbi->nls = load_nls(p);
				sbi->nls = load_nls(p);
			if (!sbi->nls) {
			if (!sbi->nls) {
				pr_err("unable to load "
				pr_err("unable to load nls mapping \"%s\"\n",
						"nls mapping \"%s\"\n",
				       p);
				       p);
				kfree(p);
				kfree(p);
				return 0;
				return 0;
@@ -232,8 +231,8 @@ int hfsplus_show_options(struct seq_file *seq, struct dentry *root)
	if (sbi->nls)
	if (sbi->nls)
		seq_printf(seq, ",nls=%s", sbi->nls->charset);
		seq_printf(seq, ",nls=%s", sbi->nls->charset);
	if (test_bit(HFSPLUS_SB_NODECOMPOSE, &sbi->flags))
	if (test_bit(HFSPLUS_SB_NODECOMPOSE, &sbi->flags))
		seq_printf(seq, ",nodecompose");
		seq_puts(seq, ",nodecompose");
	if (test_bit(HFSPLUS_SB_NOBARRIER, &sbi->flags))
	if (test_bit(HFSPLUS_SB_NOBARRIER, &sbi->flags))
		seq_printf(seq, ",nobarrier");
		seq_puts(seq, ",nobarrier");
	return 0;
	return 0;
}
}