]> git.decadent.org.uk Git - nfs-utils.git/commit
umount.nfs command: Add an AF_INET6-capable version of nfs_call_unmount()
authorChuck Lever <chuck.lever@oracle.com>
Tue, 17 Feb 2009 21:25:27 +0000 (16:25 -0500)
committerSteve Dickson <steved@redhat.com>
Tue, 17 Feb 2009 21:25:27 +0000 (16:25 -0500)
commit97de03f8c866b9d3e790d64f4e9ac24011aaa5b1
treecca14e54dfc439aff3b0184d7fd6865545391080
parenta68a1a85533142880a63c2de969db38118341c41
umount.nfs command: Add an AF_INET6-capable version of nfs_call_unmount()

We need an AF_INET6-capable version of nfs_call_unmount() to allow the
umount.nfs command to support unmounting NFS servers over IPv6.  The
legacy
mount.nfs command still likes to use nfs_call_umount(), so we leave it
in
place and introduce a new API that can take a "struct sockaddr *".

The umount.nfs command will invoke this new API, but we'll leave the
legacy
mount.nfs command and the umount.nfs4 command alone.  The umount.nfs4
command does not need this support because NFSv4 unmount operations are
entirely local.

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