[PATCH] md: make md on-disk bitmaps not host-endian
authorNeilBrown <neilb@suse.de>
Wed, 9 Nov 2005 05:39:32 +0000 (21:39 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 9 Nov 2005 15:56:38 +0000 (07:56 -0800)
commitbd926c63b7a6843d3ce2728396c0891e54fce5c4
tree38f7083a733e9b31efe69616c5fa3448c74c1320
parentb2d444d7ad975d555bb919601bcdc0e58975a40e
[PATCH] md: make md on-disk bitmaps not host-endian

Current bitmaps use set_bit et.al and so are host-endian, which means
not-portable.  Oops.

Define a new version number (4) for which bitmaps are little-endian.

Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/md/bitmap.c
drivers/md/md.c
include/linux/raid/bitmap.h
include/linux/raid/md.h