commit | 85bfb4da8cad483a4e550ec89060d05a4daf895b | [log] [tgz] |
---|---|---|
author | NeilBrown <neilb@suse.de> | Mon Oct 22 20:45:11 2007 -0700 |
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | Tue Oct 23 08:32:06 2007 -0700 |
tree | 8cbdfb71e4000a6b3f1ac23d95fcc6caa7085443 | |
parent | 0895e91d60ef9bdef426d1ce14bb94bd5875870d [diff] |
md: fix an unsigned compare to allow creation of bitmaps with v1.0 metadata As page->index is unsigned, this all becomes an unsigned comparison, which almost always returns an error. Signed-off-by: Neil Brown <neilb@suse.de> Cc: Stable <stable@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>