diff options
author | Patrick Caulfield <pcaulfie@redhat.com> | 2006-02-01 12:04:51 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-02-01 17:53:10 +0100 |
commit | a4fc4717fc55a3bcd3cfdafa285b7af164b83051 (patch) | |
tree | bce42a0cc5a6675ab50fb6b525e4418b66863fdf /fs/jffs | |
parent | [PATCH] device-mapper snapshot: load metadata on creation (diff) | |
download | linux-a4fc4717fc55a3bcd3cfdafa285b7af164b83051.tar.xz linux-a4fc4717fc55a3bcd3cfdafa285b7af164b83051.zip |
[PATCH] device-mapper log bitset: fix endian
Clean up the code responsible for the on-disk mirror logs by using the
set_le_bit test_le_bit functions of ext2. That makes the BE machines keep the
bitmap internally in LE order - it does mean you can't use any other type of
operations on the bitmap words but that looks to be OK in this instance. The
efficiency tradeoff is very minimal as you would expect for something that
ext2 uses.
This allows us to remove bits_to_core(), bits_to_disk() and log->disk_bits.
Also increment the mirror log disk version transparently to avoid sharing with
older kernels that suffered from the 64-bit BE bug.
Signed-off-by: Patrick Caulfield <pcaulfie@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/jffs')
0 files changed, 0 insertions, 0 deletions