diff options
author | NeilBrown <neilb@suse.de> | 2006-03-27 13:18:20 +0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-27 20:45:03 +0400 |
commit | df5b89b323b922f56650b4b4d7c41899b937cf19 (patch) | |
tree | d1578782a9d763174474fe2db08f4ce4c6dc6218 /include/linux/raid/md_k.h | |
parent | 48c9c27b8bcd2a328a06151e2d5c1170db0b701b (diff) | |
download | linux-df5b89b323b922f56650b4b4d7c41899b937cf19.tar.xz |
[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/md_k.h')
-rw-r--r-- | include/linux/raid/md_k.h | 2 |
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 unsigned long recovery; int in_sync; /* know to not need resync */ - struct semaphore reconfig_sem; + struct mutex reconfig_mutex; atomic_t active; int changed; /* true if we might need to reread partition info */ |