[PATCH] trivial patch to dm-exception-store.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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)
_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux