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

Configure Feed

Select the types of activity you want to include in your feed.

ocfs2: set non-default s_time_gran during mount

We need to manually set this to '1' during mount, otherwise inode_setattr()
will chop off the nanosecond portion of our timestamps.

Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>

+1
+1
fs/ocfs2/super.c
··· 1291 1291 sb->s_fs_info = osb; 1292 1292 sb->s_op = &ocfs2_sops; 1293 1293 sb->s_export_op = &ocfs2_export_ops; 1294 + sb->s_time_gran = 1; 1294 1295 sb->s_flags |= MS_NOATIME; 1295 1296 /* this is needed to support O_LARGEFILE */ 1296 1297 cbits = le32_to_cpu(di->id2.i_super.s_clustersize_bits);