[CRIU] [PATCH] zdtm: Drop memory barrier from file_fown

Cyrill Gorcunov gorcunov at openvz.org
Wed Oct 24 04:51:15 EDT 2012


It's a rudiment which not parsed well by all
gcc versions.

Reported-by: Andrey Vagin <avagin at openvz.org>
Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
 test/zdtm/live/static/file_fown.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/test/zdtm/live/static/file_fown.c b/test/zdtm/live/static/file_fown.c
index 151425e..4756fa9 100644
--- a/test/zdtm/live/static/file_fown.c
+++ b/test/zdtm/live/static/file_fown.c
@@ -133,8 +133,6 @@ int main(int argc, char *argv[])
 		exit(1);
 	}
 
-	asm volatile ("" :::);
-
 	fill_pipe_params(shared, pipes);
 
 	if (setresuid(-1, euid, -1)) {
-- 
1.7.7.6



More information about the CRIU mailing list