Whamcloud - gitweb
Add fs->now to override time(0) in libext2fs
authorTheodore Ts'o <tytso@mit.edu>
Sun, 25 Sep 2005 00:14:51 +0000 (20:14 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 25 Sep 2005 00:14:51 +0000 (20:14 -0400)
commit32138187f08d1f1dc03feb269f987982db76f3db
tree311bb28e00cf06424f2983464400661c920dd466
parent6a7075df301f36587fd99d900d1799710e82262f
Add fs->now to override time(0) in libext2fs

If fs->now is non-zero, use that as the time instead of the system
time when setting various filesystem fields (last modified time, last
write time, etc.)

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
lib/ext2fs/ChangeLog
lib/ext2fs/bb_inode.c
lib/ext2fs/closefs.c
lib/ext2fs/ext2fs.h
lib/ext2fs/initialize.c
lib/ext2fs/mkdir.c
lib/ext2fs/mkjournal.c
lib/ext2fs/res_gdt.c