sunrpc: clarify comments on rpc_make_runnable
authorJeff Layton <jlayton@redhat.com>
Mon, 23 Jul 2012 19:51:55 +0000 (15:51 -0400)
committerBen Hutchings <ben@decadent.org.uk>
Thu, 30 May 2013 13:35:04 +0000 (14:35 +0100)
commita27e05b0cf32d711c1ec57625b6053658efd11fc
tree433681f96ef21b748c50ce747b306363d7555b25
parent40a2e8cd0cb2548bb78a8b8b3ace6b911f2bb98b
sunrpc: clarify comments on rpc_make_runnable

commit 506026c3ec270e18402f0c9d33fee37482c23861 upstream.

rpc_make_runnable is not generally called with the queue lock held, unless
it's waking up a task that has been sitting on a waitqueue. This is safe
when the task has not entered the FSM yet, but the comments don't really
spell this out.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
net/sunrpc/sched.c