Whamcloud - gitweb
mke2fs: implement timestamp clamping if SOURCE_DATE_EPOCH is set
authorTheodore Ts'o <tytso@mit.edu>
Thu, 25 Apr 2024 15:38:32 +0000 (11:38 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 25 Apr 2024 15:48:37 +0000 (11:48 -0400)
commitf353a1f1b05724757241d55f0e941f974bbbc72a
treea1e3ba6548ccba58c3aa41e0e6b89819e987185b
parentb6e2913061577ad981464e435026d71a48fd5caf
mke2fs: implement timestamp clamping if SOURCE_DATE_EPOCH is set

When copying files to the newly created file system using "mke2fs -d",
and there are timestamps greater than what is specified by
SOURCE_DATE_EPOCH, clamp the timestamp to the SOURCE_DATE_EPOCH
timestamp.

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
misc/create_inode.c