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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 28 April 2014 09:37, Benno Schulenberg <bensberg@xxxxxxxxxxxxx> 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
http://www.iki.fi/kerolasa/
--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux