diff options
| -rw-r--r-- | fs/hfsplus/options.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/fs/hfsplus/options.c b/fs/hfsplus/options.c index 68537e8b7a09..c90b72ee676d 100644 --- a/fs/hfsplus/options.c +++ b/fs/hfsplus/options.c | |||
| @@ -173,9 +173,8 @@ int hfsplus_parse_options(char *input, struct hfsplus_sb_info *sbi) | |||
| 173 | if (p) | 173 | if (p) |
| 174 | sbi->nls = load_nls(p); | 174 | sbi->nls = load_nls(p); |
| 175 | if (!sbi->nls) { | 175 | if (!sbi->nls) { |
| 176 | pr_err("unable to load " | 176 | pr_err("unable to load nls mapping \"%s\"\n", |
| 177 | "nls mapping \"%s\"\n", | 177 | p); |
| 178 | p); | ||
| 179 | kfree(p); | 178 | kfree(p); |
| 180 | return 0; | 179 | return 0; |
| 181 | } | 180 | } |
| @@ -232,8 +231,8 @@ int hfsplus_show_options(struct seq_file *seq, struct dentry *root) | |||
| 232 | if (sbi->nls) | 231 | if (sbi->nls) |
| 233 | seq_printf(seq, ",nls=%s", sbi->nls->charset); | 232 | seq_printf(seq, ",nls=%s", sbi->nls->charset); |
| 234 | if (test_bit(HFSPLUS_SB_NODECOMPOSE, &sbi->flags)) | 233 | if (test_bit(HFSPLUS_SB_NODECOMPOSE, &sbi->flags)) |
| 235 | seq_printf(seq, ",nodecompose"); | 234 | seq_puts(seq, ",nodecompose"); |
| 236 | if (test_bit(HFSPLUS_SB_NOBARRIER, &sbi->flags)) | 235 | if (test_bit(HFSPLUS_SB_NOBARRIER, &sbi->flags)) |
| 237 | seq_printf(seq, ",nobarrier"); | 236 | seq_puts(seq, ",nobarrier"); |
| 238 | return 0; | 237 | return 0; |
| 239 | } | 238 | } |
