]> git.decadent.org.uk Git - nfs-utils.git/commit
text-based mount.nfs: combine nfsmount_s() and nfs4mount_s() paths
authorChuck Lever <chuck.lever@oracle.com>
Mon, 8 Oct 2007 15:53:51 +0000 (11:53 -0400)
committerNeil Brown <neilb@suse.de>
Tue, 9 Oct 2007 01:18:04 +0000 (11:18 +1000)
commitb9f4b66a81420b0832ce4ef6965b1cdc9615772c
tree2716fdc79591584ce05732f045971c0198105403
parentba0c5b3b8a635ce671778b630787bce857ee81c7
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>
utils/mount/mount.c
utils/mount/stropts.c
utils/mount/stropts.h