diff options
author | Nikhil Kshirsagar <nkshirsa@redhat.com> | 2016-06-10 08:50:10 +0530 |
---|---|---|
committer | Jes Sorensen <Jes.Sorensen@redhat.com> | 2016-06-14 13:38:19 -0400 |
commit | 6e6e98746dba7e900f23e92bbb0da01fe7a169da (patch) | |
tree | ac93ddebdb4a757de65168ab33a6f6912bafe8c6 /mdadm.h | |
parent | 26c62b8e763fc360f827ff307db7f8e22f376006 (diff) | |
download | mdadm-6e6e98746dba7e900f23e92bbb0da01fe7a169da.tar.gz |
The sys_name array in the mdinfo structure is 20 bytes of storage.
Increasing the size of this array to 32 bytes to handle cases with
longer device names.
Signed-off-by: Nikhil Kshirsagar <nkshirsa@redhat.com>
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Diffstat (limited to 'mdadm.h')
-rwxr-xr-x | mdadm.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -289,7 +289,7 @@ struct mdinfo { int container_enough; /* flag external handlers can set to * indicate that subarrays have not enough (-1), * enough to start (0), or all expected disks (1) */ - char sys_name[20]; + char sys_name[32]; struct mdinfo *devs; struct mdinfo *next; |