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