text-based mount command: Function to stuff "struct pmap" from mount options
authorChuck Lever <chuck.lever@oracle.com>
Tue, 27 Jan 2009 22:43:29 +0000 (17:43 -0500)
committerSteve Dickson <steved@redhat.com>
Tue, 27 Jan 2009 22:43:29 +0000 (17:43 -0500)
commitff4f8ea366103d9b82cd2d9f8ced2426215d62b4
tree91da84a3a1dc412d7b160644e37a7c988a44ccb2
parent0dcb83a870926de215307472676096056dabc9b0
text-based mount command: Function to stuff "struct pmap" from mount options

Both the text-based mount.nfs command and the umount.nfs command need
to fill in a pmap structure based on string mount options.  Introduce
a shared function that can do this.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
utils/mount/network.c
utils/mount/network.h