mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
MD: Bitmap version cleanup.
bitmap_new_disk_sb() would still create V3 bitmap superblock with host-endian layout. Perhaps I'm confused, but shouldn't bitmap_new_disk_sb() be creating a V4 bitmap superblock instead, that is portable, as per comment in bitmap.h? Signed-off-by: Andrei Warkentin <[email protected]> Signed-off-by: NeilBrown <[email protected]>
This commit is contained in:
parent
5020ad7d14
commit
9e41dd35b3
1 changed files with 0 additions and 3 deletions
|
|
@ -539,9 +539,6 @@ static int bitmap_new_disk_sb(struct bitmap *bitmap)
|
|||
bitmap->events_cleared = bitmap->mddev->events;
|
||||
sb->events_cleared = cpu_to_le64(bitmap->mddev->events);
|
||||
|
||||
bitmap->flags |= BITMAP_HOSTENDIAN;
|
||||
sb->version = cpu_to_le32(BITMAP_MAJOR_HOSTENDIAN);
|
||||
|
||||
kunmap_atomic(sb);
|
||||
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Reference in a new issue