Commit a800bad36619ce47ac0222004635448e6c91ff72

Authored by Miklos Szeredi
1 parent 9a3c4145af

fuse: s_time_gran fix

Default s_time_gran is 1, don't overwrite that if userspace didn't
explicitly specify one.

Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Cc: <stable@vger.kernel.org> # v3.15+

Showing 1 changed file with 0 additions and 3 deletions Side-by-side Diff

... ... @@ -907,9 +907,6 @@
907 907 fc->writeback_cache = 1;
908 908 if (arg->time_gran && arg->time_gran <= 1000000000)
909 909 fc->sb->s_time_gran = arg->time_gran;
910   - else
911   - fc->sb->s_time_gran = 1000000000;
912   -
913 910 } else {
914 911 ra_pages = fc->max_read / PAGE_CACHE_SIZE;
915 912 fc->no_lock = 1;