VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   32 Branches   54 Tags
author: Deepa Dinamani <deepa.kernel@gmail.com> 2019-03-21 14:05:12 -0700 committer: Deepa Dinamani <deepa.kernel@gmail.com> 2019-08-30 07:27:18 -0700 commit: 487b25bc4be9c15a5edb81c4e52160b5e84d1c4f parent: c0da64f6bb674d20a8e84bcd30679c1483668fb2
Commit Summary:
fs: affs: Initialize filesystem timestamp ranges
Diffstat:
1 file changed, 3 insertions, 0 deletions
diff --git a/fs/affs/amigaffs.h b/fs/affs/amigaffs.h
index f9bef9056659..81fb396d4dfa 100644
--- a/fs/affs/amigaffs.h
+++ b/fs/affs/amigaffs.h
@@ -32,6 +32,9 @@
 
 #define AFFS_ROOT_BMAPS		25
 
+/* Seconds since Amiga epoch of 1978/01/01 to UNIX */
+#define AFFS_EPOCH_DELTA ((8 * 365 + 2) * 86400LL)
+
 struct affs_date {
 	__be32 days;
 	__be32 mins;