VisionFive2 Linux kernel

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

More than 9999 Commits   35 Branches   59 Tags
author: Deepa Dinamani <deepa.kernel@gmail.com> 2019-07-30 08:22:29 -0700 committer: Deepa Dinamani <deepa.kernel@gmail.com> 2019-08-30 07:27:17 -0700 commit: 22b139691f9eb8b9d0bfd7341fa7436cb7a9491d parent: 42e729b9ddbbc40e5732f062ef2fa0554c652fb5
Commit Summary:
fs: Fill in max and min timestamps in superblock
Diffstat:
1 file changed, 2 insertions, 0 deletions
diff --git a/fs/qnx4/inode.c b/fs/qnx4/inode.c
index 922d083bbc7c..e8da1cde87b9 100644
--- a/fs/qnx4/inode.c
+++ b/fs/qnx4/inode.c
@@ -201,6 +201,8 @@ static int qnx4_fill_super(struct super_block *s, void *data, int silent)
 	s->s_op = &qnx4_sops;
 	s->s_magic = QNX4_SUPER_MAGIC;
 	s->s_flags |= SB_RDONLY;	/* Yup, read-only yet */
+	s->s_time_min = 0;
+	s->s_time_max = U32_MAX;
 
 	/* Check the superblock signature. Since the qnx4 code is
 	   dangerous, we should leave as quickly as possible