diff --git a/fs/coredump.c b/fs/coredump.c index eea9dbc1264a3c0ea2a618dcd104f8503fa72396..2941cc43a4207042b8fc7f29d7953b7b6aaf71b0 100644 --- a/fs/coredump.c +++ b/fs/coredump.c @@ -520,7 +520,7 @@ static bool dump_interrupted(void) * but then we need to teach dump_write() to restart and clear * TIF_SIGPENDING. */ - return signal_pending(current); + return fatal_signal_pending(current) || freezing(current); } static void wait_for_dump_helpers(struct file *file)