X-Git-Url: http://git.monstr.eu/?a=blobdiff_plain;f=fs%2Fcoredump.c;h=c3d8fc14b993047bfb9a628e893537eb926e0e85;hb=c10383b3fb10286dfeac7754ca964ec992f6fe78;hp=2868e3e171ae615f9c065ec242e150c6eb5e30aa;hpb=45af60e7ced07ae3def41368c3d260dbf496fbce;p=linux-2.6-microblaze.git diff --git a/fs/coredump.c b/fs/coredump.c index 2868e3e171ae..c3d8fc14b993 100644 --- a/fs/coredump.c +++ b/fs/coredump.c @@ -519,7 +519,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)