]> git.ipfire.org Git - thirdparty/mdadm.git/commit
maps: Use keyvalue for null terminator to indicate 'unset' value
authorJes Sorensen <jsorensen@fb.com>
Thu, 20 Apr 2017 04:19:44 +0000 (00:19 -0400)
committerJes Sorensen <jsorensen@fb.com>
Thu, 20 Apr 2017 04:27:42 +0000 (00:27 -0400)
commit5e8e35fb7e17495032e144f319517dcae38d1b56
tree045d674756d667dfdc7adbe26186ce69d025cfe7
parente47781fcea24778a16e4be53e5b84eab8db9413c
maps: Use keyvalue for null terminator to indicate 'unset' value

This simplifies the code calling map_name() so it no longer has to
manually check for UnSet and convert the value manually.

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