[CRIU] [PATCH 2/2] files: Don't mask O_ASYNC flag from being set
Cyrill Gorcunov
gorcunov at openvz.org
Wed May 30 13:06:25 EDT 2012
Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
files.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/files.c b/files.c
index c7eee1d..599281b 100644
--- a/files.c
+++ b/files.c
@@ -447,7 +447,7 @@ int open_reg_by_id(u32 id)
return open_fe_fd(fd);
}
-#define SETFL_MASK (O_APPEND | O_NONBLOCK | O_NDELAY | O_DIRECT | O_NOATIME)
+#define SETFL_MASK (O_APPEND | O_ASYNC | O_NONBLOCK | O_NDELAY | O_DIRECT | O_NOATIME)
int set_fd_flags(int fd, int flags)
{
int ret;
--
1.7.7.6
More information about the CRIU
mailing list