aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/jffs2_fs_sb.h
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2005-05-19 12:18:11 -0400
committerThomas Gleixner <tglx@mtd.linutronix.de>2005-05-23 07:21:14 -0400
commitfff7afd791f6a685b3ddedb8cfb152aed85f3cf8 (patch)
treed120969aad25f0c67d1e81e51552c85ac954bb8b /include/linux/jffs2_fs_sb.h
parent90e260c84f563a4ac6b47886e8188af06f4a4a46 (diff)
[JFFS2] Convert thread start semaphore to completion
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include/linux/jffs2_fs_sb.h')
-rw-r--r--include/linux/jffs2_fs_sb.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/jffs2_fs_sb.h b/include/linux/jffs2_fs_sb.h
index 350b82bd6529..1e21546622de 100644
--- a/include/linux/jffs2_fs_sb.h
+++ b/include/linux/jffs2_fs_sb.h
@@ -1,4 +1,4 @@
1/* $Id: jffs2_fs_sb.h,v 1.51 2005/02/28 08:21:06 dedekind Exp $ */ 1/* $Id: jffs2_fs_sb.h,v 1.52 2005/05/19 16:12:17 gleixner Exp $ */
2 2
3#ifndef _JFFS2_FS_SB 3#ifndef _JFFS2_FS_SB
4#define _JFFS2_FS_SB 4#define _JFFS2_FS_SB
@@ -32,7 +32,7 @@ struct jffs2_sb_info {
32 unsigned int flags; 32 unsigned int flags;
33 33
34 struct task_struct *gc_task; /* GC task struct */ 34 struct task_struct *gc_task; /* GC task struct */
35 struct semaphore gc_thread_start; /* GC thread start mutex */ 35 struct completion gc_thread_start; /* GC thread start completion */
36 struct completion gc_thread_exit; /* GC thread exit completion port */ 36 struct completion gc_thread_exit; /* GC thread exit completion port */
37 37
38 struct semaphore alloc_sem; /* Used to protect all the following 38 struct semaphore alloc_sem; /* Used to protect all the following