Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

fs: omfs: Initialize filesystem timestamp ranges

Fill in the appropriate limits to avoid inconsistencies
in the vfs cached inode times when timestamps are
outside the permitted range.

Signed-off-by: Deepa Dinamani <deepa.kernel@gmail.com>
Acked-by: Bob Copeland <me@bobcopeland.com>
Acked-by: Jeff Layton <jlayton@kernel.org>
Cc: me@bobcopeland.com
Cc: linux-karma-devel@lists.sourceforge.net

+4
+4
fs/omfs/inode.c
··· 478 478 479 479 sb->s_maxbytes = 0xffffffff; 480 480 481 + sb->s_time_gran = NSEC_PER_MSEC; 482 + sb->s_time_min = 0; 483 + sb->s_time_max = U64_MAX / MSEC_PER_SEC; 484 + 481 485 sb_set_blocksize(sb, 0x200); 482 486 483 487 bh = sb_bread(sb, 0);