Skip to content

Commit 668135b

Browse files
Olga KornievskaiaAnna Schumaker
authored andcommitted
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: c975c20 ("NFS send OFFLOAD_CANCEL when COPY killed") Signed-off-by: Olga Kornievskaia <[email protected]> Signed-off-by: Anna Schumaker <[email protected]>
1 parent e8380c2 commit 668135b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fs/nfs/nfs42proc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -552,7 +552,7 @@ static int nfs42_do_offload_cancel_async(struct file *dst,
552552
.rpc_message = &msg,
553553
.callback_ops = &nfs42_offload_cancel_ops,
554554
.workqueue = nfsiod_workqueue,
555-
.flags = RPC_TASK_ASYNC,
555+
.flags = RPC_TASK_ASYNC | RPC_TASK_MOVEABLE,
556556
};
557557
int status;
558558

0 commit comments

Comments
 (0)