[CRIU] Re: [PATCH 2/2] files: Don't mask O_ASYNC flag from being set

Pavel Emelyanov xemul at parallels.com
Thu May 31 07:15:39 EDT 2012


On 05/30/2012 09:06 PM, Cyrill Gorcunov wrote:
> 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;

Applied, thanks


More information about the CRIU mailing list