aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2006-01-06 03:20:43 -0500
committerLinus Torvalds <torvalds@g5.osdl.org>2006-01-06 11:34:07 -0500
commit2989ddbd6e1d9638a188311b896362c4bf7b7c25 (patch)
tree6dd1adb19cdff7135aadb96a309e55aed59e8be9 /drivers
parentf188593ee7af8c71755d2df269a7a5f62c4b695e (diff)
[PATCH] md: make a couple of names in md.c static
.. because they aren't used outside md.c 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 'drivers')
-rw-r--r--drivers/md/md.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/md/md.c b/drivers/md/md.c
index c1613854f38d..3cf089349e77 100644
--- a/drivers/md/md.c
+++ b/drivers/md/md.c
@@ -144,7 +144,7 @@ static int start_readonly;
144 * start array, stop array, error, add device, remove device, 144 * start array, stop array, error, add device, remove device,
145 * start build, activate spare 145 * start build, activate spare
146 */ 146 */
147DECLARE_WAIT_QUEUE_HEAD(md_event_waiters); 147static DECLARE_WAIT_QUEUE_HEAD(md_event_waiters);
148static atomic_t md_event_count; 148static atomic_t md_event_count;
149void md_new_event(mddev_t *mddev) 149void md_new_event(mddev_t *mddev)
150{ 150{
@@ -279,7 +279,7 @@ static inline void mddev_unlock(mddev_t * mddev)
279 md_wakeup_thread(mddev->thread); 279 md_wakeup_thread(mddev->thread);
280} 280}
281 281
282mdk_rdev_t * find_rdev_nr(mddev_t *mddev, int nr) 282static mdk_rdev_t * find_rdev_nr(mddev_t *mddev, int nr)
283{ 283{
284 mdk_rdev_t * rdev; 284 mdk_rdev_t * rdev;
285 struct list_head *tmp; 285 struct list_head *tmp;