nls_utf8 is available, and the check in hfsplus_fill_super checks the wrong pointer for NULLness (it checks the saved nls, not the new one that it needs to use.) Signed-off-by: Joshua Kwan Cc: Roman Zippel Signed-off-by: Andrew Morton --- fs/hfsplus/super.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -puN fs/hfsplus/super.c~hfsplus-oops-fix fs/hfsplus/super.c --- devel/fs/hfsplus/super.c~hfsplus-oops-fix 2006-01-01 11:03:56.000000000 -0800 +++ devel-akpm/fs/hfsplus/super.c 2006-01-01 11:03:56.000000000 -0800 @@ -320,7 +320,7 @@ static int hfsplus_fill_super(struct sup /* temporarily use utf8 to correctly find the hidden dir below */ nls = sbi->nls; sbi->nls = load_nls("utf8"); - if (!nls) { + if (!sbi->nls) { printk("HFS+: unable to load nls for utf8\n"); err = -EINVAL; goto cleanup; _