VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   32 Branches   54 Tags
author: Jens Axboe <axboe@kernel.dk> 2020-10-16 09:02:26 -0600 committer: Jens Axboe <axboe@kernel.dk> 2020-10-17 15:05:30 -0600 commit: 91989c707884ecc7cd537281ab1a4b8fb7219da3 parent: 3c532798ec96b6c2d77706f04ed1d8b566a805df
Commit Summary:
task_work: cleanup notification modes
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/fs/file_table.c b/fs/file_table.c
index 656647f9575a..709ada3151da 100644
--- a/fs/file_table.c
+++ b/fs/file_table.c
@@ -339,7 +339,7 @@ void fput_many(struct file *file, unsigned int refs)
 
 		if (likely(!in_interrupt() && !(task->flags & PF_KTHREAD))) {
 			init_task_work(&file->f_u.fu_rcuhead, ____fput);
-			if (!task_work_add(task, &file->f_u.fu_rcuhead, true))
+			if (!task_work_add(task, &file->f_u.fu_rcuhead, TWA_RESUME))
 				return;
 			/*
 			 * After this task has run exit_task_work(),