commit | 82a402e99f3f8c6177528ad6d561bf07ff6ee606 | [log] [tgz] |
---|---|---|
author | Peter Lieven <pl@kamp.de> | Sun May 18 00:58:18 2014 +0200 |
committer | Kevin Wolf <kwolf@redhat.com> | Mon May 19 12:21:17 2014 +0200 |
tree | f53898d4be8e10ab779a91ed9b1753a7a005d931 | |
parent | 43f35cb5e0cff62e1d3fb1c116fbb8e028f2a5c8 [diff] |
blockdev: add a function to parse enum ids from strings this adds a generic function to recover the enum id of a parameter given as a string. Signed-off-by: Peter Lieven <pl@kamp.de> Signed-off-by: Kevin Wolf <kwolf@redhat.com>