kernel-fxtec-pro1x/fs/jbd
Pavel Emelianov 97f0678467 jbd: check for error returned by kthread_create on creating journal thread
If the thread failed to create the subsequent wait_event will hang forever.

This is likely to happen if kernel hits max_threads limit.

Will be critical for virtualization systems that limit the number of tasks
and kernel memory usage within the container.

(akpm: JBD should be converted fully to the kthread API: kthread_should_stop()
and kthread_stop()).

Cc: <linux-ext4@vger.kernel.org>
Cc: Christoph Hellwig <hch@lst.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-05-08 11:15:13 -07:00
..
checkpoint.c [PATCH] ext3: More whitespace cleanups 2006-09-27 08:26:10 -07:00
commit.c header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
journal.c jbd: check for error returned by kthread_create on creating journal thread 2007-05-08 11:15:13 -07:00
Makefile
recovery.c [PATCH] JBD: Make journal_brelse_array() static 2006-09-29 09:18:03 -07:00
revoke.c header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
transaction.c header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00