Revision 34b3d5344719d14fd2185b2d9459b3abcb8cf9d8 authored by Petr Mladek on 25 June 2021, 01:39:45 UTC, committed by Linus Torvalds on 25 June 2021, 02:40:54 UTC
Patch series "kthread_worker: Fix race between kthread_mod_delayed_work()
and kthread_cancel_delayed_work_sync()".

This patchset fixes the race between kthread_mod_delayed_work() and
kthread_cancel_delayed_work_sync() including proper return value
handling.

This patch (of 2):

Simple code refactoring as a preparation step for fixing a race between
kthread_mod_delayed_work() and kthread_cancel_delayed_work_sync().

It does not modify the existing behavior.

Link: https://lkml.kernel.org/r/20210610133051.15337-2-pmladek@suse.com
Signed-off-by: Petr Mladek <pmladek@suse.com>
Cc: <jenhaochen@google.com>
Cc: Martin Liu <liumartin@google.com>
Cc: Minchan Kim <minchan@google.com>
Cc: Nathan Chancellor <nathan@kernel.org>
Cc: Nick Desaulniers <ndesaulniers@google.com>
Cc: Oleg Nesterov <oleg@redhat.com>
Cc: Tejun Heo <tj@kernel.org>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 7ca3027
History
File Mode Size
Kconfig -rw-r--r-- 482 bytes
Makefile -rw-r--r-- 291 bytes
attr.c -rw-r--r-- 3.1 KB
bfind.c -rw-r--r-- 4.6 KB
bitmap.c -rw-r--r-- 5.8 KB
bnode.c -rw-r--r-- 11.2 KB
brec.c -rw-r--r-- 13.6 KB
btree.c -rw-r--r-- 8.9 KB
btree.h -rw-r--r-- 5.2 KB
catalog.c -rw-r--r-- 9.8 KB
dir.c -rw-r--r-- 8.0 KB
extent.c -rw-r--r-- 14.0 KB
hfs.h -rw-r--r-- 9.1 KB
hfs_fs.h -rw-r--r-- 9.2 KB
inode.c -rw-r--r-- 18.5 KB
mdb.c -rw-r--r-- 10.1 KB
part_tbl.c -rw-r--r-- 2.9 KB
string.c -rw-r--r-- 3.7 KB
super.c -rw-r--r-- 12.0 KB
sysdep.c -rw-r--r-- 1.0 KB
trans.c -rw-r--r-- 3.4 KB

back to top