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>
1 file changed