diff options
author | Kevin Hao <haokexin@gmail.com> | 2023-12-18 13:23:23 +0800 |
---|---|---|
committer | Dave Kleikamp <dave.kleikamp@oracle.com> | 2024-01-02 11:06:52 -0600 |
commit | a280c9ceeca73fad22af79b08b470fc7126cf1d5 (patch) | |
tree | 2f33b3659b38a3b97e943b918c7f675c40480bcb /fs/jfs/jfs_dmap.c | |
parent | 49f9637aafa6e63ba686c13cb8549bf5e6920402 (diff) | |
download | lwn-a280c9ceeca73fad22af79b08b470fc7126cf1d5.tar.gz lwn-a280c9ceeca73fad22af79b08b470fc7126cf1d5.zip |
jfs: Add missing set_freezable() for freezable kthread
The kernel thread function jfs_lazycommit() and jfs_sync() invoke the
try_to_freeze() in its loop. But all the kernel threads are no-freezable
by default. So if we want to make a kernel thread to be freezable, we have
to invoke set_freezable() explicitly.
Signed-off-by: Kevin Hao <haokexin@gmail.com>
Signed-off-by: Dave Kleikamp <dave.kleikamp@oracle.com>
Diffstat (limited to 'fs/jfs/jfs_dmap.c')
0 files changed, 0 insertions, 0 deletions