summaryrefslogtreecommitdiffstats
path: root/utils/mount/stropts.h
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2007-10-08 11:53:51 -0400
committerNeil Brown <neilb@suse.de>2007-10-09 11:18:04 +1000
commitb9f4b66a81420b0832ce4ef6965b1cdc9615772c (patch)
tree2716fdc79591584ce05732f045971c0198105403 /utils/mount/stropts.h
parentba0c5b3b8a635ce671778b630787bce857ee81c7 (diff)
downloadnfs-utils-b9f4b66a81420b0832ce4ef6965b1cdc9615772c.tar.gz
nfs-utils-b9f4b66a81420b0832ce4ef6965b1cdc9615772c.tar.xz
nfs-utils-b9f4b66a81420b0832ce4ef6965b1cdc9615772c.zip
text-based mount.nfs: combine nfsmount_s() and nfs4mount_s() paths
The top-level logic that handles text-based mount options is mostly the same for NFS and NFSv4 mounts. To improve maintainability, let's combine the nfsmount_s() and nfs4mount_s() functions. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Neil Brown <neilb@suse.de>
Diffstat (limited to 'utils/mount/stropts.h')
-rw-r--r--utils/mount/stropts.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/mount/stropts.h b/utils/mount/stropts.h
index a2a0604..b926d68 100644
--- a/utils/mount/stropts.h
+++ b/utils/mount/stropts.h
@@ -21,5 +21,5 @@
*
*/
-int nfsmount_s(const char *, const char *, int , char **, int, int);
-int nfs4mount_s(const char *, const char *, int, char **, int, int);
+int nfsmount_string(const char *, const char *, const char *, int,
+ char **, int, int);