commit | f1f88fc7e818c6678c6799a2edb8f1aeccc124aa | [log] [tgz] |
---|---|---|
author | Trond Myklebust <Trond.Myklebust@netapp.com> | Sat Jul 31 14:29:07 2010 -0400 |
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | Tue Aug 03 22:06:44 2010 -0400 |
tree | a5aec7e7e522500df78b5cbf1f2ce430462552e2 | |
parent | a6f03393ec86fd25523c79497a9a773bda170d1d [diff] |
SUNRPC: The function rpc_restart_call() should return success/failure Both rpc_restart_call_prepare() and rpc_restart_call() test for the RPC_TASK_KILLED flag, and fail to restart the RPC call if that flag is set. This patch allows callers to know whether or not the restart was successful, so that they can perform cleanups etc in case of failure. Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>