From 79b446d22ce8cfb387549bef2a0ddcaf6fbb3331 Mon Sep 17 00:00:00 2001 From: Nikolaus Rath Date: Sat, 8 Jul 2017 01:12:59 +0200 Subject: Fixed description of struct fuse_conn_info->time_gran At least on Linux kernel 4.9, a value of zero gives more than 1-sec accuracy. --- include/fuse_common.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/fuse_common.h b/include/fuse_common.h index 6bb14f3..8bacec5 100644 --- a/include/fuse_common.h +++ b/include/fuse_common.h @@ -406,8 +406,9 @@ struct fuse_conn_info { * * To prevent this problem, this variable can be used to inform the * kernel about the timestamp granularity supported by the file-system. - * The value should be power of 10. A zero (default) value is - * equivalent to 1000000000 (1sec). + * The value should be power of 10. The default is 1, i.e. full + * nano-second resolution. Filesystems supporting only second resolution + * should set this to 1000000000. */ unsigned time_gran; -- cgit v1.2.3