diff options
author | 2006-01-06 00:20:43 -0800 | |
---|---|---|
committer | 2006-01-06 08:34:07 -0800 | |
commit | 2989ddbd6e1d9638a188311b896362c4bf7b7c25 (patch) | |
tree | 6dd1adb19cdff7135aadb96a309e55aed59e8be9 /drivers/md | |
parent | [PATCH] md: fix typo in comment (diff) | |
download | linux-2989ddbd6e1d9638a188311b896362c4bf7b7c25.tar.gz linux-2989ddbd6e1d9638a188311b896362c4bf7b7c25.tar.bz2 linux-2989ddbd6e1d9638a188311b896362c4bf7b7c25.zip |
[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/md')
-rw-r--r-- | drivers/md/md.c | 4 |
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; * start array, stop array, error, add device, remove device, * start build, activate spare */ -DECLARE_WAIT_QUEUE_HEAD(md_event_waiters); +static DECLARE_WAIT_QUEUE_HEAD(md_event_waiters); static atomic_t md_event_count; void md_new_event(mddev_t *mddev) { @@ -279,7 +279,7 @@ static inline void mddev_unlock(mddev_t * mddev) md_wakeup_thread(mddev->thread); } -mdk_rdev_t * find_rdev_nr(mddev_t *mddev, int nr) +static mdk_rdev_t * find_rdev_nr(mddev_t *mddev, int nr) { mdk_rdev_t * rdev; struct list_head *tmp; |