lkml.org 
[lkml]   [2004]   [Nov]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] Sync in core time granuality with filesystems
From
Date
Andi Kleen <ak@suse.de> writes:

> diff -urpN -X ../KDIFX linux-2.6.10rc2/fs/jfs/namei.c linux-2.6.10rc2-time/fs/jfs/namei.c
> --- linux-2.6.10rc2/fs/jfs/namei.c 2004-10-19 01:55:28.000000000 +0200
> +++ linux-2.6.10rc2-time/fs/jfs/namei.c 2004-11-21 23:27:52.000000000 +0100
> @@ -1233,7 +1233,7 @@ static int jfs_rename(struct inode *old_
> old_ip->i_ctime = CURRENT_TIME;
> mark_inode_dirty(old_ip);
>
> - new_dir->i_ctime = new_dir->i_mtime = CURRENT_TIME;
> + new_dir->i_ctime = new_dir->i_mtime = current_fs_time(new_dir->i_sb);
> mark_inode_dirty(new_dir);
>
> /* Build list of inodes modified by this transaction */
> @@ -1245,7 +1245,7 @@ static int jfs_rename(struct inode *old_
>
> if (old_dir != new_dir) {
> iplist[ipcount++] = new_dir;
> - old_dir->i_ctime = old_dir->i_mtime = CURRENT_TIME;
> + old_dir->i_ctime = old_dir->i_mtime = CURRENT_TIME;

Is this supposed to be CURRENT_TIME_SEC?

Andreas.

--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:08    [W:0.036 / U:0.136 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site