]> git.baikalelectronics.ru Git - kernel.git/commit
SUNRPC: Don't start a timer on an already queued rpc task
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Sat, 4 Apr 2020 23:52:21 +0000 (19:52 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Sat, 4 Apr 2020 23:59:27 +0000 (19:59 -0400)
commit567f98c0bdbcc3ea92ae5896cd06f7f8d71a4711
tree0ecd0496922009cbb61398d0b6c8591b0a365c46
parent22d68bb510a04c986124fa54f7646bce13b956c1
SUNRPC: Don't start a timer on an already queued rpc task

Move the test for whether a task is already queued to prevent
corruption of the timer list in __rpc_sleep_on_priority_timeout().

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
net/sunrpc/sched.c