diff options
author | Jan Chochol <jan@chochol.info> | 2018-01-05 10:39:12 +0300 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2018-01-18 23:10:47 +0300 |
commit | cbebc6ef4fc830f4040d4140bf53484812d5d5d9 (patch) | |
tree | 4b1f214e7579e11f2a9b5c70b7c82869368274c1 /init | |
parent | 06e1902456f3d0e45c3e64b75124339d67c83e5b (diff) | |
download | linux-cbebc6ef4fc830f4040d4140bf53484812d5d5d9.tar.xz |
nfs: Do not convert nfs_idmap_cache_timeout to jiffies
Since commit 57e62324e469 ("NFS: Store the legacy idmapper result in the
keyring") nfs_idmap_cache_timeout changed units from jiffies to seconds.
Unfortunately sysctl interface was not updated accordingly.
As a effect updating /proc/sys/fs/nfs/idmap_cache_timeout with some
value will incorrectly multiply this value by HZ.
Also reading /proc/sys/fs/nfs/idmap_cache_timeout will show real value
divided by HZ.
Fixes: 57e62324e469 ("NFS: Store the legacy idmapper result in the keyring")
Signed-off-by: Jan Chochol <jan@chochol.info>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions