[Tux3] Fix one typo in kernel/super.c

Ma Can macan at ncic.ac.cn
Wed Jan 7 03:07:54 PST 2009


A small typo in the error handling codes in tux3_fill_super.

diff -Nurp user_latest/kernel/super.c user/kernel/super.c
--- user_latest/kernel/super.c  2009-01-07 09:56:32.000000000 +0800
+++ user/kernel/super.c 2009-01-07 18:59:55.000000000 +0800
@@ -209,11 +209,11 @@ static int tux3_fill_super(struct super_
        err = -ENOMEM;
        sbi->logmap = tux_new_inode(sbi->rootdir, &iattr, 0);
        if (!sbi->logmap)
-               goto error_logmap;
+               goto error_atable;

        sb->s_root = d_alloc_root(sbi->rootdir);
        if (!sb->s_root)
-               goto error_atable;
+               goto error_logmap;

        return 0;
-- 
Ma Can

_______________________________________________
Tux3 mailing list
Tux3 at tux3.org
http://mailman.tux3.org/cgi-bin/mailman/listinfo/tux3



More information about the Tux3 mailing list