commit | b819c65315b26ca9c9a58aac4858e7b3b5afc295 | [log] [tgz] |
---|---|---|
author | Guangwen Feng <fenggw-fnst@cn.fujitsu.com> | Thu Nov 03 14:19:18 2016 +0800 |
committer | Cyril Hrubis <chrubis@suse.cz> | Thu Nov 03 11:24:16 2016 +0100 |
tree | 679f33488e8890dc8e8f7abc5fc014658ec0aa86 | |
parent | 6b37c6f648fea4be733cd930b2fa570be1a97cf9 [diff] |
syscalls/creat06: Fix the use of tst_brk() in cleanup Calling tst_brk() from the test cleanup would cause infinite loop and segfault, we should call tst_res(TWARN) instead, and the tst_umount() calls tst_res(TWARN) already, so we just use the tst_umount() here. Signed-off-by: Guangwen Feng <fenggw-fnst@cn.fujitsu.com> Acked-by: Cyril Hrubis <chrubis@suse.cz>