aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/raid
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2006-03-27 04:18:20 -0500
committerLinus Torvalds <torvalds@g5.osdl.org>2006-03-27 11:45:03 -0500
commitdf5b89b323b922f56650b4b4d7c41899b937cf19 (patch)
treed1578782a9d763174474fe2db08f4ce4c6dc6218 /include/linux/raid
parent48c9c27b8bcd2a328a06151e2d5c1170db0b701b (diff)
[PATCH] md: Convert reconfig_sem to reconfig_mutex
... being careful that mutex_trylock is inverted wrt down_trylock Signed-off-by: Neil Brown <neilb@suse.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux/raid')
-rw-r--r--include/linux/raid/md_k.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/raid/md_k.h b/include/linux/raid/md_k.h
index c0d3097846a7..e2df61f5b09a 100644
--- a/include/linux/raid/md_k.h
+++ b/include/linux/raid/md_k.h
@@ -185,7 +185,7 @@ struct mddev_s
185 unsigned long recovery; 185 unsigned long recovery;
186 186
187 int in_sync; /* know to not need resync */ 187 int in_sync; /* know to not need resync */
188 struct semaphore reconfig_sem; 188 struct mutex reconfig_mutex;
189 atomic_t active; 189 atomic_t active;
190 190
191 int changed; /* true if we might need to reread partition info */ 191 int changed; /* true if we might need to reread partition info */