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 <avagin@virtuozzo.com>
Signed-off-by: Pavel Emelyanov <xemul@virtuozzo.com>
This commit is contained in:
Andrei Vagin 2016-10-14 05:52:00 +03:00 committed by Pavel Emelyanov
parent 876c3a3c8b
commit 2adf1fbb2b

View file

@ -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;
}