commit | 420add2a77f6b69377b42d03009985053b30bd5b | [log] [tgz] |
---|---|---|
author | Cyril Hrubis <chrubis@suse.cz> | Thu Jan 29 16:00:10 2015 +0100 |
committer | Cyril Hrubis <chrubis@suse.cz> | Thu Jan 29 16:04:26 2015 +0100 |
tree | ebb2f73ff3bb69fd606c12fbc6f60d633a3ce8ed | |
parent | 9d048f81cb2c60d2f019ea3677f12928f8629cf1 [diff] |
lib: Add tst_umount() Various desktop deamons (gvfsd-trash is known for that) may be stupid enough to probe all newly mounted filesystem which results in umount(2) failing with EBUSY. Introduce tst_umount() function that behaves exactly as umount(2) but retries several times on a failure + add documentation. Signed-off-by: Cyril Hrubis <chrubis@suse.cz>