afs: Shutdown the scheduler if a fatal signal was caught.
[paraslash.git] / 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;
 }