]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commitdiff
libext2fs: fix dubious code in ext2fs_unmark_generic_bitmap()
authorNamhyung Kim <namhyung@gmail.com>
Mon, 29 Nov 2010 08:55:07 +0000 (17:55 +0900)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 20 Dec 2010 15:54:27 +0000 (10:54 -0500)
Looks like a copy & paste problem to me.

Signed-off-by: Namhyung Kim <namhyung@gmail.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
lib/ext2fs/gen_bitmap.c

index eded435193648750f15e844ad4e20f61df40f9de..3650013d73376106218f0c457ea94c04000a4945 100644 (file)
@@ -217,7 +217,7 @@ int ext2fs_unmark_generic_bitmap(ext2fs_generic_bitmap bitmap,
        if (!EXT2FS_IS_32_BITMAP(bitmap)) {
                if (EXT2FS_IS_64_BITMAP(bitmap)) {
                        ext2fs_warn_bitmap32(bitmap, __func__);
-                       return ext2fs_mark_generic_bmap(bitmap, bitno);
+                       return ext2fs_unmark_generic_bmap(bitmap, bitno);
                }
 #ifndef OMIT_COM_ERR
                com_err(0, EXT2_ET_MAGIC_GENERIC_BITMAP,