* [PATCH] trivial patch to dm-exception-store.c
@ 2004-04-23 22:16 Dave Olien
2004-04-26 8:14 ` thornber
0 siblings, 1 reply; 2+ messages in thread
From: Dave Olien @ 2004-04-23 22:16 UTC (permalink / raw)
To: thornber; +Cc: linux-lvm, linux-kernel
Here's another trivial patch to dm-exception-store.c It just makes
some function declarations static.
diff -ur rc2-mm1-UDM1-original/drivers/md/dm-exception-store.c rc2-mm1-UDM1-patched/drivers/md/dm-exception-store.c
--- rc2-mm1-UDM1-original/drivers/md/dm-exception-store.c 2004-04-23 15:02:58.000000000 -0700
+++ rc2-mm1-UDM1-patched/drivers/md/dm-exception-store.c 2004-04-23 15:13:34.000000000 -0700
@@ -588,17 +588,17 @@
sector_t next_free;
};
-void transient_destroy(struct exception_store *store)
+static void transient_destroy(struct exception_store *store)
{
kfree(store->context);
}
-int transient_read_metadata(struct exception_store *store)
+static int transient_read_metadata(struct exception_store *store)
{
return 0;
}
-int transient_prepare(struct exception_store *store, struct exception *e)
+static int transient_prepare(struct exception_store *store, struct exception *e)
{
struct transient_c *tc = (struct transient_c *) store->context;
sector_t size = get_dev_size(store->snap->cow->bdev);
@@ -612,7 +612,7 @@
return 0;
}
-void transient_commit(struct exception_store *store,
+static void transient_commit(struct exception_store *store,
struct exception *e,
void (*callback) (void *, int success),
void *callback_context)
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] trivial patch to dm-exception-store.c
2004-04-23 22:16 [PATCH] trivial patch to dm-exception-store.c Dave Olien
@ 2004-04-26 8:14 ` thornber
0 siblings, 0 replies; 2+ messages in thread
From: thornber @ 2004-04-26 8:14 UTC (permalink / raw)
To: Dave Olien; +Cc: thornber, linux-lvm, linux-kernel
On Fri, Apr 23, 2004 at 03:16:37PM -0700, Dave Olien wrote:
> Here's another trivial patch to dm-exception-store.c It just makes
> some function declarations static.
Also merged thanks.
- Joe
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-04-26 8:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-23 22:16 [PATCH] trivial patch to dm-exception-store.c Dave Olien
2004-04-26 8:14 ` thornber
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox