From 2adf1fbb2bc0d19ab443ca648564db7e08fcf2f2 Mon Sep 17 00:00:00 2001 From: Andrei Vagin Date: Fri, 14 Oct 2016 05:52:00 +0300 Subject: [PATCH] mount: don't overwrite mount flags by MS_STRICTATIME It's typo fix. MS_STRICTATIME has to be added to other flags there. travis-ci: success for mount: don't overwrite mount flags by MS_STRICTATIME Signed-off-by: Andrei Vagin Signed-off-by: Pavel Emelyanov --- criu/proc_parse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/criu/proc_parse.c b/criu/proc_parse.c index a0dd89245..ca6087ca6 100644 --- a/criu/proc_parse.c +++ b/criu/proc_parse.c @@ -1197,7 +1197,7 @@ static int parse_mnt_flags(char *opt, unsigned *flags) /* Otherwise the kernel assumes RELATIME by default */ if ((*flags & (MS_RELATIME | MS_NOATIME)) == 0) - *flags = MS_STRICTATIME; + *flags |= MS_STRICTATIME; return 0; }