Commit 2adf1fbb authored by Andrei Vagin's avatar Andrei Vagin Committed by Pavel Emelyanov

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: 's avatarAndrei Vagin <avagin@virtuozzo.com>
Signed-off-by: 's avatarPavel Emelyanov <xemul@virtuozzo.com>
parent 876c3a3c
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment