afs: Shutdown the scheduler if a fatal signal was caught.
authorAndre Noll <maan@systemlinux.org>
Mon, 31 Mar 2008 11:52:51 +0000 (13:52 +0200)
committerAndre Noll <maan@systemlinux.org>
Mon, 31 Mar 2008 11:52:51 +0000 (13:52 +0200)
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.

afs.c

diff --git a/afs.c b/afs.c
index ab1a1df..0454b8e 100644 (file)
--- 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;
 }