commit | a76580fbf09e6e19c2040c08969af5137e064eda | [log] [tgz] |
---|---|---|
author | Trond Myklebust <Trond.Myklebust@netapp.com> | Mon May 20 23:00:18 2013 -0400 |
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | Thu Jun 06 16:24:38 2013 -0400 |
tree | efd3497a42cbf571916ac57037b3b326bbf1fa25 | |
parent | 5cc2216db844beac6ce78c3e48137cd58911b297 [diff] |
SUNRPC: Fix a potential race in rpc_execute If the rpc_task is asynchronous, it could theoretically finish executing on the workqueue it was assigned by rpc_make_runnable() before we get round to testing RPC_IS_ASYNC() in rpc_execute. In practice, however, all the existing callers hold a reference to the rpc_task, so this can't happen today... Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>