public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Dave Olien <dmo@osdl.org>
To: thornber@redhat.com
Cc: linux-lvm@redhat.com, linux-kernel@vger.kernel.org
Subject: [PATCH] trivial patch to dm-exception-store.c
Date: Fri, 23 Apr 2004 15:16:37 -0700	[thread overview]
Message-ID: <20040423221637.GA29746@osdl.org> (raw)


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)

             reply	other threads:[~2004-04-23 22:14 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-23 22:16 Dave Olien [this message]
2004-04-26  8:14 ` [PATCH] trivial patch to dm-exception-store.c thornber

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040423221637.GA29746@osdl.org \
    --to=dmo@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-lvm@redhat.com \
    --cc=thornber@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox