Re: Mount point not auto unmounted after system date/time change

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

 



On Wed, Sep 16, 2015 at 5:16 PM, Ian Kent <raven@xxxxxxxxxx> wrote:
> On Wed, 2015-09-16 at 16:45 +0800, Ning Yu wrote:
>> Hi,
>>
>> I have composed a patch for this issue, it works in my side, what it
>> does is replacing gettimeofday() with clock_gettime(CLOCK_MONOTONIC).
>>
>> Would anyone please help to review it? Thanks in advance.
>
> Are you joking!
> How is this meant to apply to the current source, it won't.
>
> If you can manage to post a sane patch you will need to break it up into
> a few separate standalone patches with sane explanations of what each
> one is meant to achieve.

I'm sorry, not to offend, the previous patch was huge because all the call to
time() or gettimeofday() functions are replaced with clock_gettime().

Please allow me to re-send the patch, this time I have splitted it into
several smaller patches, hope it won't be as stupid as previous one.

>
>>
>> From cdb2bcd563420cd39af199309e8c0c7fc45a7bd1 Mon Sep 17 00:00:00 2001
>> From: Yu Ning <ning.yu@xxxxxxxxxx>
>> Date: Wed, 16 Sep 2015 15:56:21 +0800
>> Subject: [PATCH] Use clock_gettime() instead of gettimeofday().
>>
>> This patch is to fix the issue that a mount point may not be
>> automatically unmounted after a system date/time change.
>>
>> Reproducer with 100% failrate:
>
> Since of you to hammer the result of the problem you've identified
> rather than just explain the problem and what needs to be done to
> resolve it in a polite and sensible manner.
>
--
To unsubscribe from this list: send the line "unsubscribe autofs" in



[Index of Archives]     [Linux Filesystem Development]     [Linux Ext4]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux