Re: [PATCH 08/12] swapon: swaps with legacy version label are not supported

Sami Kerola
2014-04-28T08:44:01Z

On 28 April 2014 09:37, Benno Schulenberg <bensberg@justemail.net> wrote:
>
> On Sun, Apr 27, 2014, at 22:05, Sami Kerola wrote:
>> - if (memcmp(buf, "SWAP-SPACE", 10) == 0 ||
>> - memcmp(buf, "SWAPSPACE2", 10) == 0)
>> + if (memcmp(buf, SWAP_SIGNATURE, 10) == 0)
>
> s/10/SWAP_SIGNATURE_SZ/ ?

Hi Benno,

Yes, that would be better. Karel, can you amend & add Benno as reviewer?

--
Sami Kerola