diff options
author | Trond Myklebust <trond.myklebust@hammerspace.com> | 2019-08-16 14:37:26 +0200 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@hammerspace.com> | 2019-08-26 21:31:29 +0200 |
commit | d5711920ec6e578f51db95caa6f185f5090b865e (patch) | |
tree | a8c5664d0bdf5d8563eeebb38868b24b75b31d0a /include | |
parent | SUNRPC: Handle EADDRINUSE and ENOBUFS correctly (diff) | |
download | linux-d5711920ec6e578f51db95caa6f185f5090b865e.tar.xz linux-d5711920ec6e578f51db95caa6f185f5090b865e.zip |
Revert "NFSv4/flexfiles: Abort I/O early if the layout segment was invalidated"
This reverts commit a79f194aa4879e9baad118c3f8bb2ca24dbef765.
The mechanism for aborting I/O is racy, since we are not guaranteed that
the request is asleep while we're changing both task->tk_status and
task->tk_action.
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Cc: stable@vger.kernel.org # v5.1
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/sunrpc/sched.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/sunrpc/sched.h b/include/linux/sunrpc/sched.h index baa3ecdb882f..27536b961552 100644 --- a/include/linux/sunrpc/sched.h +++ b/include/linux/sunrpc/sched.h @@ -98,7 +98,6 @@ typedef void (*rpc_action)(struct rpc_task *); struct rpc_call_ops { void (*rpc_call_prepare)(struct rpc_task *, void *); - void (*rpc_call_prepare_transmit)(struct rpc_task *, void *); void (*rpc_call_done)(struct rpc_task *, void *); void (*rpc_count_stats)(struct rpc_task *, void *); void (*rpc_release)(void *); |