]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commit - e2fsck/pass5.c
e2fsck: fix pass5 bug when using two different bitmap backends
authorTheodore Ts'o <tytso@mit.edu>
Sat, 17 Dec 2011 16:56:35 +0000 (11:56 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 18 Dec 2011 06:12:44 +0000 (01:12 -0500)
commite35ff9b92ac8e1038f9ab972e6f3a73e0091d3ee
treeafbea37073e0f4559591b307767b334c82f26108
parentd182831a15dfa4d36979be10fdfd4ec06bdd65b9
e2fsck: fix pass5 bug when using two different bitmap backends

The pass5 checks would fail if the expected and current {inode,block}
bitmaps used different back ends that returned different non-zero
values from the test_*_bitmap() functions.  Fix this by changing
"(actual == bitmap)" to "(!actual == !bitmap)".

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
e2fsck/pass5.c