Commit 8843824b authored by Arnd Bergmann's avatar Arnd Bergmann Committed by Greg Kroah-Hartman
Browse files

nfsd: use ktime_get_seconds() for timestamps



[ Upstream commit b3f255ef ]

The delegation logic in nfsd uses the somewhat inefficient
seconds_since_boot() function to record time intervals.

Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
Signed-off-by: default avatarJ. Bruce Fields <bfields@redhat.com>
Stable-dep-of: 45bb63ed ("nfsd: fix delegation_blocked() to block correctly for at least 30 seconds")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent fe5e9182
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment