Re: discard change to swapon(2) and swapon(8)

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

 



On Mon, Oct 25, 2010 at 4:31 AM, Karel Zak <kzak@xxxxxxxxxx> wrote:
> On Sun, Oct 24, 2010 at 05:32:47PM -0700, Hugh Dickins wrote:
>> + Â Â discard = 0;
>
> I think the discard=0 has to be also before opts parsing. (You don't
> have to re-send the patch to fix this tiny bug.)

I didn't realize that there's any bug there (given the error on -a -d),
but there's certainly more paths through this code than I'd been
expecting, so I'll assume you've seen what I missed: certainly
does no harm to set discard = 0 before the opts parsing - thanks.

Hugh
--
To unsubscribe from this list: send the line "unsubscribe util-linux-ng" 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