Patchwork [04/11] nsdbparams: Rename nsdb_test_nsdb()

login
register
mail settings
Submitter Chuck Lever
Date Jan. 16, 2013, 9:52 p.m.
Message ID <20130116215217.21683.97130.stgit@seurat.1015granger.net>
Download mbox | patch
Permalink /patch/213072/
State Accepted
Headers show

Comments

Chuck Lever - Jan. 16, 2013, 9:52 p.m.
Clean up: static functions in nsdbparams proper should be named with
an "nsdbparams_" prefix.

Introduced by commit 6244ea74 "nsdbparams: Ping only when adding new
NSDBs" Thu Nov 10 12:17:40 2011.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
---

 src/nsdbparams/update.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

Patch

diff --git a/src/nsdbparams/update.c b/src/nsdbparams/update.c
index 7003b24..60db7a5 100644
--- a/src/nsdbparams/update.c
+++ b/src/nsdbparams/update.c
@@ -100,7 +100,7 @@  nsdbparams_update_usage(const char *progname)
  * @return a FedFsStatus code
  */
 static FedFsStatus
-nsdb_test_nsdb(const char *nsdbname, unsigned short nsdbport)
+nsdbparams_test_nsdb(const char *nsdbname, unsigned short nsdbport)
 {
 	unsigned int ldap_err;
 	FedFsStatus retval;
@@ -345,7 +345,7 @@  nsdbparams_update(const char *progname, int argc, char **argv)
 		nsdb_free_nsdb(host);
 		break;
 	case FEDFS_ERR_NSDB_PARAMS:
-		retval = nsdb_test_nsdb(nsdbname, nsdbport);
+		retval = nsdbparams_test_nsdb(nsdbname, nsdbport);
 		if (retval != FEDFS_OK)
 			goto out;
 		break;