diff options
author | Roman Sobanski <roman.sobanski@intel.com> | 2018-04-27 12:12:21 +0200 |
---|---|---|
committer | Jes Sorensen <jsorensen@fb.com> | 2018-04-27 15:30:32 +0200 |
commit | 5d518de84e7cd3382b4984cc1243ddb4102aa4f4 (patch) | |
tree | fb48b204eacce149b07354c58f1919a88457799f /mdmon.8 | |
parent | Prevent create IMSM volume with size smaller than 1M or chunk (diff) | |
download | mdadm-5d518de84e7cd3382b4984cc1243ddb4102aa4f4.tar.xz mdadm-5d518de84e7cd3382b4984cc1243ddb4102aa4f4.zip |
mdadm/grow: correct size and chunk_size casting
With commit 4b74a905a67e
("mdadm/grow: Component size must be larger than chunk size") mdadm returns
incorrect message if size given to grow was greater than 2 147 483 647 K.
Cast chunk_size to "unsigned long long" instead of casting size to "int".
Signed-off-by: Roman Sobanski <roman.sobanski@intel.com>
Signed-off-by: Jes Sorensen <jsorensen@fb.com>
Diffstat (limited to 'mdmon.8')
0 files changed, 0 insertions, 0 deletions