mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-18 00:58:31 +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:
parent
876c3a3c8b
commit
2adf1fbb2b
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue