patch-2.4.19 linux-2.4.19/fs/jbd/journal.c
Next file: linux-2.4.19/fs/jffs2/build.c
Previous file: linux-2.4.19/fs/iobuf.c
Back to the patch index
Back to the overall index
- Lines: 16
- Date:
Fri Aug 2 17:39:45 2002
- Orig file:
linux-2.4.18/fs/jbd/journal.c
- Orig date:
Mon Feb 25 11:38:08 2002
diff -urN linux-2.4.18/fs/jbd/journal.c linux-2.4.19/fs/jbd/journal.c
@@ -204,6 +204,7 @@
lock_kernel();
daemonize();
+ reparent_to_init();
spin_lock_irq(¤t->sigmask_lock);
sigfillset(¤t->blocked);
recalc_sigpending(current);
@@ -267,6 +268,7 @@
journal->j_task = NULL;
wake_up(&journal->j_wait_done_commit);
+ unlock_kernel();
jbd_debug(1, "Journal thread exiting.\n");
return 0;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)