diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2007-10-08 11:53:41 -0400 |
---|---|---|
committer | Neil Brown <neilb@suse.de> | 2007-10-09 11:18:03 +1000 |
commit | e8232ab2cfd9d5b6669c5ba47d423925bdc25e12 (patch) | |
tree | f20796db4d130e20606db7d7c5174d4623bc8f0c | |
parent | 7aa9d664abc948370b7c93d0e27d54859ae278fd (diff) | |
download | nfs-utils-e8232ab2cfd9d5b6669c5ba47d423925bdc25e12.tar.gz nfs-utils-e8232ab2cfd9d5b6669c5ba47d423925bdc25e12.tar.xz nfs-utils-e8232ab2cfd9d5b6669c5ba47d423925bdc25e12.zip |
text-based mount.nfs: rename fix_up_mounthost_opt()
Spell out _option, just like other mount-option specific functions.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Neil Brown <neilb@suse.de>
-rw-r--r-- | utils/mount/stropts.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/utils/mount/stropts.c b/utils/mount/stropts.c index b31b3a2..3d83f9e 100644 --- a/utils/mount/stropts.c +++ b/utils/mount/stropts.c @@ -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) { |