* dmraid/lib/metadata reconfig.c
@ 2010-07-13 20:19 zkabelac
0 siblings, 0 replies; only message in thread
From: zkabelac @ 2010-07-13 20:19 UTC (permalink / raw)
To: dm-cvs, dm-devel
CVSROOT: /cvs/dm
Module name: dmraid
Changes by: zkabelac@sourceware.org 2010-07-13 20:19:40
Modified files:
lib/metadata : reconfig.c
Log message:
Add static to local functions
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/dmraid/lib/metadata/reconfig.c.diff?cvsroot=dm&r1=1.3&r2=1.4
--- dmraid/lib/metadata/reconfig.c 2009/09/16 11:45:16 1.3
+++ dmraid/lib/metadata/reconfig.c 2010/07/13 20:19:40 1.4
@@ -87,7 +87,7 @@
int rebuild_config_raidset(struct lib_context *lc, struct raid_set *rs);
-void
+static void
show_raid_stack(struct lib_context *lc)
{
struct raid_set *_rs;
@@ -268,10 +268,8 @@
return ret;
}
-struct dev_info *find_disk(struct lib_context *lc, char *dp);
-
/* check if disk is under a raid set */
-int
+static int
check_busy_disk(struct lib_context *lc, struct raid_dev *check_rd)
{
struct raid_dev *rd;
@@ -290,7 +288,7 @@
return 1;
}
-int
+static int
add_dev_to_array(struct lib_context *lc, struct raid_set *rs,
uint build_metadata, struct raid_dev *hot_spare_rd)
{
@@ -543,7 +541,7 @@
struct raid_dev *find_spare(struct lib_context *lc, struct raid_set *sub_rs,
struct raid_set **spare_set);
-int
+static int
_rebuild_raidset(struct lib_context *lc, struct raid_set *sub_rs,
char *set_name)
{
@@ -704,7 +702,7 @@
}
-int
+static int
write_set_spare(struct lib_context *lc, void *v)
{
int ret = 1;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-07-13 20:19 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-13 20:19 dmraid/lib/metadata reconfig.c zkabelac
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.