Skip to contentSkip to conversation

text-based mount.nfs: rename fix_up_mounthost_opt()

PATCH In review Chuck Lever 1 participant 1 message Oct 8, 2007

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/12 text-based mount.nfs: rename fix_up_mounthost_opt()

Spell out _option, just like other mount-option specific functions.

---

 utils/mount/stropts.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
utils/mount/stropts.c +4 -4
index b31b3a2..3d83f9e 100644
@@ -191,10 +191,10 @@ static int append_clientaddr_option(struct sockaddr_in *saddr,
 }
 
 /*
- * Called to resolve the 'mounthost=' hostname and append a new
- * option using an IPv4 address.
+ * Resolve the 'mounthost=' hostname and append a new option using
+ * the resulting IPv4 address.
  */
-static int fix_up_mounthost_opt(struct mount_options *options)
+static int fix_mounthost_option(struct mount_options *options)
 {
 	struct sockaddr_in maddr;
 	char *mounthost, new_option[32];
@@ -251,7 +251,7 @@ int nfsmount_s(const char *spec, const char *node, int flags,
 	if (!append_addr_option(&saddr, options))
 		goto out;
 
-	if (!fix_up_mounthost_opt(options))
+	if (!fix_mounthost_option(options))
 		goto out;
 
 	if (po_join(options, extra_opts) == PO_FAILED) {

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs