Re: [PATCH v2 01/15] Documentation: add newcx initramfs format description

From: Arnd Bergmann
Date: Thu Jan 25 2018 - 16:03:07 EST


On Thu, Jan 25, 2018 at 9:26 PM, Taras Kondratiuk <takondra@xxxxxxxxx> wrote:
> Quoting Arnd Bergmann (2018-01-25 01:29:12)
>> On Thu, Jan 25, 2018 at 4:27 AM, Taras Kondratiuk <takondra@xxxxxxxxx> wrote:
>
> We can match statx(2) by having 64 bits for seconds plus 32 bits for
> nanoseconds.

Ok.

> For initramfs nanoseconds field can be ignored during
> unpacking.

That sounds like a pointless microoptimization. Most likely we won't ever
need the nanoseconds in the initramfs, but it's trivial to just copy them
into the right field, and not adding that one source line would probably
involve adding a one-line source comment to explain the omission ;-)

Arnd