]> git.ipfire.org Git - thirdparty/mdadm.git/commit
imsm: change wrong size verification
authorMariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com>
Wed, 21 Apr 2021 14:50:08 +0000 (16:50 +0200)
committerJes Sorensen <jsorensen@fb.com>
Thu, 6 May 2021 20:40:29 +0000 (16:40 -0400)
commitff904202a4a6232e0f0dfea31a7c4a34ab08f76e
treeebda20f737d796378b9718bb49b25c6915cb36fc
parentc11b1c3cede2e91988aaf36a6496ec1a5d6589a3
imsm: change wrong size verification

Expectation that size is always rounded is incorrect.
Just confirm that size is smaller to be certain that update is safe.

Signed-off-by: Mariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com>
Signed-off-by: Jes Sorensen <jsorensen@fb.com>
super-intel.c