From: Andre Noll Date: Mon, 31 Mar 2008 11:52:51 +0000 (+0200) Subject: afs: Shutdown the scheduler if a fatal signal was caught. X-Git-Tag: v0.3.2~45 X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=commitdiff_plain;h=5a94fb80bc774066d0fc995ca88109fe7d1783b5 afs: Shutdown the scheduler if a fatal signal was caught. This fixes the problem that the afs database was not marked clean and thus had to be checked if para_server was interupted by a signal. --- diff --git a/afs.c b/afs.c index ab1a1df6..0454b8ef 100644 --- a/afs.c +++ b/afs.c @@ -777,6 +777,7 @@ static void signal_post_select(struct sched *s, struct task *t) init_admissible_files(current_mop); return; } + sched_shutdown(); t->error = -E_AFS_SIGNAL; }