ext4: make ext4_lazyinit_thread freezable
authorLalith Rajendran <lalithkraj@google.com>
Thu, 18 Aug 2022 21:40:49 +0000 (21:40 +0000)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 30 Sep 2022 03:01:27 +0000 (23:01 -0400)
commit3b575495ab8dbb4dbe85b4ac7f991693c3668ff5
tree363e4506300fffd1ee9a4c9777a26e6965c88b4e
parentf9c1f248607d5546075d3f731e7607d5571f2b60
ext4: make ext4_lazyinit_thread freezable

ext4_lazyinit_thread is not set freezable. Hence when the thread calls
try_to_freeze it doesn't freeze during suspend and continues to send
requests to the storage during suspend, resulting in suspend failures.

Cc: stable@kernel.org
Signed-off-by: Lalith Rajendran <lalithkraj@google.com>
Link: https://lore.kernel.org/r/20220818214049.1519544-1-lalithkraj@google.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/super.c