In-Reply-To: <[email protected]>
On Fri, 24 Feb 2006 at 04:04:00 -0800, Andrew Morton wrote:
> --- devel/fs/ramfs/inode.c~ramfs-update-dir-mtime-and-ctime 2006-02-24 03:53:46.000000000 -0800
> +++ devel-akpm/fs/ramfs/inode.c 2006-02-24 03:54:29.000000000 -0800
> @@ -27,6 +27,7 @@
> #include <linux/fs.h>
> #include <linux/pagemap.h>
> #include <linux/highmem.h>
> +#include <linux/time.h>
> #include <linux/init.h>
> #include <linux/string.h>
> #include <linux/smp_lock.h>
> @@ -104,6 +105,7 @@ ramfs_mknod(struct inode *dir, struct de
> d_instantiate(dentry, inode);
> dget(dentry); /* Extra count - pin the dentry in core */
> error = 0;
> + dir->i_mtime = dir->i_ctime = CURRENT_TIME_SEC;
> }
> return error;
> }
Shouldn't that be CURRENT_TIME?
[me@tu ramfs]$ grep -i current_time *
inode.c: inode->i_atime = inode->i_mtime = inode->i_ctime = CURRENT_TIME;
--
Chuck
"Equations are the Devil's sentences." --Stephen Colbert
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]