Re: [PATCH] fs: relatime update - Match comment with behavior

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

 



On Tue, Jun 11, 2019 at 07:45:40AM +0200, Aurelien Thierry wrote:
> 2 comments right before code wrongly state that if (c|m)time is younger
> than atime, then atime is updated (behavior is the other way around).
> 
> Fix aligns comments with actual behavior, function description and
> documentation (man mount).

Huh?  "mtime is younger than atime" means that mtime refers to the moment
later than that refered to by atime, i.e that atime refers to the moment
earlier than that refered to by mtime.  What is the problem you are trying
to fix?

Both the original and changed comments mean exact same thing.  And yes,
the changed comment does match the actual behaviour.  Just as the original
one does...



[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux