lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 5 Dec 2006 22:43:11 -0800
From:	Andrew Morton <akpm@...l.org>
To:	Mark Fasheh <mark.fasheh@...cle.com>
Cc:	linux-kernel@...r.kernel.org, hch@....de,
	val_henson@...ux.intel.com, viro@...iv.linux.org.uk
Subject: Re: + ocfs2-relative-atime-support-tweaks.patch added to -mm tree

On Tue, 5 Dec 2006 22:28:09 -0800
Mark Fasheh <mark.fasheh@...cle.com> wrote:

> >  	if (vfsmnt->mnt_flags & MNT_RELATIME) {
> > -		if ((timespec_compare(&inode->i_atime, &inode->i_mtime) < 0) ||
> > -		    (timespec_compare(&inode->i_atime, &inode->i_ctime) < 0))
> > +		if ((timespec_compare(&inode->i_atime, &inode->i_mtime) <= 0) ||
> > +		    (timespec_compare(&inode->i_atime, &inode->i_ctime) <= 0))
> >  			return 1;
> Hmm, should we fix up touch_atime() to use "<=" as well? Maybe I didn't read
> it correctly...

The logic I have there is the same (I hope)...

+			if (timespec_compare(&inode->i_mtime,
+						&inode->i_atime) < 0 &&
+			    timespec_compare(&inode->i_ctime,
+						&inode->i_atime) < 0)
+				return;

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ