diff options
author | 2008-08-05 15:54:13 +1000 | |
---|---|---|
committer | 2008-08-05 15:56:32 +1000 | |
commit | dba034eef2456d2a9f9a76806846c97acf6c3ad1 (patch) | |
tree | 3cf51b72fc5be671e986a39c389aa5332994e2a2 /lib/bitmap.c | |
parent | Restore force switch of md array to readonly at reboot time. (diff) | |
download | wireguard-linux-dba034eef2456d2a9f9a76806846c97acf6c3ad1.tar.xz wireguard-linux-dba034eef2456d2a9f9a76806846c97acf6c3ad1.zip |
Fail safely when trying to grow an array with a write-intent bitmap.
We cannot currently change the size of a write-intent bitmap.
So if we change the size of an array which has such a bitmap, it
tries to set bits beyond the end of the bitmap.
For now, simply reject any request to change the size of an array
which has a bitmap. mdadm can remove the bitmap and add a new one
after the array has changed size.
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'lib/bitmap.c')
0 files changed, 0 insertions, 0 deletions