]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/hfsplus/super.c
NFS: Work correctly with single-page ->writepage() calls
[linux-2.6-omap-h63xx.git] / fs / hfsplus / super.c
index 8093351bd7c3b0a9cefcb73ce1879a0527655c6e..6daaf7c755a6894a9e1616d778e8b9816f9945ae 100644 (file)
@@ -320,7 +320,7 @@ static int hfsplus_fill_super(struct super_block *sb, void *data, int silent)
        /* 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;