[CRIU] [PATCH] fix parse_mnt_flags() to dump/restore STRICTATIME correctly
Pavel Emelyanov
xemul at parallels.com
Mon Apr 27 04:54:52 PDT 2015
On 04/24/2015 09:52 PM, Cyrill Gorcunov wrote:
> On Fri, Apr 24, 2015 at 08:32:22PM +0200, Oleg Nesterov wrote:
>> CRIU always retores the mounts as MNT_RELATIME. This is because the
>> kernel uses this mode by default, so we need to pass MS_STRICTATIME
>> explicitely if we didn't see "noatime" or "MS_RELATIME".
>>
>> While at it, make mnt_opt2flag[] and sb_opt2flag "static", otherwise
>> gcc actually creates these arrays on stack even if there are "const".
>>
>> Signed-off-by: Oleg Nesterov <oleg at redhat.com>
> Reviewed-by: Cyrill Gorcunov <gorcunov at openvz.org>
>
> Thank you!
> .
>
Applied, thanks!
More information about the CRIU
mailing list