mirror of
https://github.com/torvalds/linux.git
synced 2026-06-04 20:46:48 +02:00
NFSv4.2: mark OFFLOAD_CANCEL MOVEABLE
OFFLOAD_CANCEL should be marked MOVEABLE for when we need to move
tasks off a non-functional transport.
Fixes: c975c20926 ("NFS send OFFLOAD_CANCEL when COPY killed")
Signed-off-by: Olga Kornievskaia <okorniev@redhat.com>
Signed-off-by: Anna Schumaker <anna.schumaker@oracle.com>
This commit is contained in:
parent
e8380c2d06
commit
668135b934
|
|
@ -552,7 +552,7 @@ static int nfs42_do_offload_cancel_async(struct file *dst,
|
|||
.rpc_message = &msg,
|
||||
.callback_ops = &nfs42_offload_cancel_ops,
|
||||
.workqueue = nfsiod_workqueue,
|
||||
.flags = RPC_TASK_ASYNC,
|
||||
.flags = RPC_TASK_ASYNC | RPC_TASK_MOVEABLE,
|
||||
};
|
||||
int status;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user