commit | 78bf28f239bb14fd1a9c8717eb5ff6b645a82c16 | [log] [tgz] |
---|---|---|
author | Cyril Hrubis <chrubis@suse.cz> | Wed Feb 08 11:23:20 2017 +0100 |
committer | Cyril Hrubis <chrubis@suse.cz> | Mon Feb 13 17:33:37 2017 +0100 |
tree | 255c351cf301fd04c81a9f04b9f9b73253d9418c | |
parent | d97debf386c327285a09fb4794f313d330d823cc [diff] |
tst_device: Split the tst_acquire_device code again This splits the tst_acquire_device code into two parts so that the function with two underscores returns exit value rather than calling tst_brkm() with a cleanup pointer. Once this is done we can reuse the code in shell helper binary so that we have all the device related code in a single place. Signed-off-by: Cyril Hrubis <chrubis@suse.cz> Acked-by: Jan Stancek <jstancek@redhat.com>