commit | 95a0f10cddbf93ce89c175ac1c53dad2d20ad309 | [log] [tgz] |
---|---|---|
author | Lars Ellenberg <lars.ellenberg@linbit.com> | Wed Dec 15 08:59:09 2010 +0100 |
committer | Philipp Reisner <philipp.reisner@linbit.com> | Thu Mar 10 11:36:40 2011 +0100 |
tree | 98866a5938a75f235fdce6ab20cfa95fe984388e | |
parent | 7777a8ba1fc980e5edfe492ebf5a1676497b8db2 [diff] |
drbd: store in-core bitmap little endian, regardless of architecture Our on-disk bitmap is a little endian bitstream. Up to now, we have stored the in-core copy of that in native endian, applying byte order conversion when necessary. Instead, keep the bitmap pages little endian, as they are read from disk, and use the generic_*_le_bit family of functions. Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com> Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>