From 1db93b6ea9e1a045482141173c98519c1761344c Mon Sep 17 00:00:00 2001 From: Kirill Tkhai Date: Wed, 12 Jul 2017 20:30:26 +0300 Subject: [PATCH] files: Add comments about FLE_* stages Signed-off-by: Kirill Tkhai Signed-off-by: Andrei Vagin --- criu/include/files.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/criu/include/files.h b/criu/include/files.h index 9f65fa634..419e50dd3 100644 --- a/criu/include/files.h +++ b/criu/include/files.h @@ -66,7 +66,16 @@ struct file_desc; enum { FLE_INITIALIZED, + /* + * FLE is open (via open() or socket() or etc syscalls), and + * common file setting are set up (type-specific are not yet). + * Most possible, the master was already served out. + */ FLE_OPEN, + /* + * File-type specific settings and preparations are finished, + * and FLE is completely restored. + */ FLE_RESTORED, };