summaryrefslogtreecommitdiff
path: root/include/linux/jffs.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@athlon.transmeta.com>2002-02-04 20:09:44 -0800
committerLinus Torvalds <torvalds@athlon.transmeta.com>2002-02-04 20:09:44 -0800
commita67f1b5da2cf8b14395596048c876247b894aa5c (patch)
tree0f125e709fddc4d32579fb267ede0f9c8079ff11 /include/linux/jffs.h
parente9e7d7fa16122d7bfa6f87188828baf6080cb02e (diff)
v2.4.8 -> v2.4.8.1
- Rui Sousa: emu10k1 module fixes, remove joystick part. - Alan Cox: driver merges - Andrea Arkangeli: alpha updates - David Woodhouse: up_and_exit -> complete_and_exit - David Miller: sparc and network update - Andrew Morton: update 3c59x driver - Neil Brown: NFS export VFAT, knfsd cleanups, raid fixes - Ben Collins: ieee1394 updates - Paul Mackerras: PPC update - me: make sure we don't lose position bits in "filldir()"
Diffstat (limited to 'include/linux/jffs.h')
-rw-r--r--include/linux/jffs.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/jffs.h b/include/linux/jffs.h
index 61e7b66fe39b..3b1f1c81275d 100644
--- a/include/linux/jffs.h
+++ b/include/linux/jffs.h
@@ -22,6 +22,8 @@
#define JFFS_VERSION_STRING "1.0"
+#include <linux/completion.h>
+
/* This is a magic number that is used as an identification number for
this file system. It is written to the super_block structure. */
#define JFFS_MAGIC_SB_BITMASK 0x07c0 /* 1984 */
@@ -185,7 +187,7 @@ struct jffs_control
struct jffs_delete_list *delete_list; /* Track deleted files. */
pid_t thread_pid; /* GC thread's PID */
struct task_struct *gc_task; /* GC task struct */
- struct semaphore gc_thread_sem; /* GC thread exit mutex */
+ struct completion gc_thread_comp; /* GC thread exit mutex */
__u32 gc_minfree_threshold; /* GC trigger thresholds */
__u32 gc_maxdirty_threshold;
};