diff options
Diffstat (limited to 'fs/hfsplus/options.c')
| -rw-r--r-- | fs/hfsplus/options.c | 11 | 
1 files changed, 5 insertions, 6 deletions
diff --git a/fs/hfsplus/options.c b/fs/hfsplus/options.c index 968eab5bc1f..c90b72ee676 100644 --- a/fs/hfsplus/options.c +++ b/fs/hfsplus/options.c @@ -75,7 +75,7 @@ int hfsplus_parse_options_remount(char *input, int *force)  	int token;  	if (!input) -		return 0; +		return 1;  	while ((p = strsep(&input, ",")) != NULL) {  		if (!*p) @@ -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;  }  | 
