aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/hfsplus/super.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/hfsplus/super.c b/fs/hfsplus/super.c
index 8093351bd7c3..6daaf7c755a6 100644
--- a/fs/hfsplus/super.c
+++ b/fs/hfsplus/super.c
@@ -320,7 +320,7 @@ static int hfsplus_fill_super(struct super_block *sb, void *data, int silent)
320 /* temporarily use utf8 to correctly find the hidden dir below */ 320 /* temporarily use utf8 to correctly find the hidden dir below */
321 nls = sbi->nls; 321 nls = sbi->nls;
322 sbi->nls = load_nls("utf8"); 322 sbi->nls = load_nls("utf8");
323 if (!nls) { 323 if (!sbi->nls) {
324 printk("HFS+: unable to load nls for utf8\n"); 324 printk("HFS+: unable to load nls for utf8\n");
325 err = -EINVAL; 325 err = -EINVAL;
326 goto cleanup; 326 goto cleanup;