mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-31 06:15:24 +00:00
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:
committed by
Pavel Emelyanov
parent
876c3a3c8b
commit
2adf1fbb2b
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user