]> git.ipfire.org Git - thirdparty/mdadm.git/commit
maps: Terminate 'modes' map correctly.
authorJes Sorensen <jsorensen@fb.com>
Thu, 20 Apr 2017 04:13:31 +0000 (00:13 -0400)
committerJes Sorensen <jsorensen@fb.com>
Thu, 20 Apr 2017 04:13:31 +0000 (00:13 -0400)
commite47781fcea24778a16e4be53e5b84eab8db9413c
tree449b205fd14a772097b8fbac4f3ebf5cd35810d8
parent3ab8f4bf33d906cb1084f7b4036556bfb4bb73ec
maps: Terminate 'modes' map correctly.

While we are unlikely to fail here, terminate the modes map correctly
to ensure we don't start running over undefined data.

Signed-off-by: Jes Sorensen <jsorensen@fb.com>
maps.c