]> git.ipfire.org Git - thirdparty/mdadm.git/commit - mdadm.h
Introduce sysfs_set_num_signed() and use it to set bitmap/offset
authorJes Sorensen <Jes.Sorensen@redhat.com>
Thu, 26 Apr 2012 15:12:57 +0000 (17:12 +0200)
committerNeilBrown <neilb@suse.de>
Sun, 29 Apr 2012 23:56:22 +0000 (09:56 +1000)
commit012a8641290e566f87f1d52f54022752c39ee326
treeec9a3d136040545090965e29516425738ebf198d
parent34a13953facb53625d300e63af355bf2df0309e0
Introduce sysfs_set_num_signed() and use it to set bitmap/offset

mdinfo->bitmap_offset is a signed long and needs to be treated as
such when passed to the kernel.

This resolves the problem with adding internal bitmaps to a 1.0 array.

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: NeilBrown <neilb@suse.de>
Grow.c
mdadm.h
sysfs.c