diff options
author | David Sheets <david.sheets@docker.com> | 2017-01-13 16:58:30 +0100 |
---|---|---|
committer | Miklos Szeredi <mszeredi@redhat.com> | 2017-01-13 17:20:47 +0100 |
commit | 210675270caa33253e4c33f3c5e657e7d6060812 (patch) | |
tree | ca9b10adc7030707f1c7f010e48388efdde0d6fa /fs/efivarfs | |
parent | fuse: clear FR_PENDING flag when moving requests out of pending queue (diff) | |
download | linux-210675270caa33253e4c33f3c5e657e7d6060812.tar.xz linux-210675270caa33253e4c33f3c5e657e7d6060812.zip |
fuse: fix time_to_jiffies nsec sanity check
Commit bcb6f6d2b9c2 ("fuse: use timespec64") introduced clamped nsec values
in time_to_jiffies but used the max of nsec and NSEC_PER_SEC - 1 instead of
the min. Because of this, dentries would stay in the cache longer than
requested and go stale in scenarios that relied on their timely eviction.
Fixes: bcb6f6d2b9c2 ("fuse: use timespec64")
Signed-off-by: David Sheets <dsheets@docker.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Cc: <stable@vger.kernel.org> # 4.9
Diffstat (limited to 'fs/efivarfs')
0 files changed, 0 insertions, 0 deletions