• Chuck Lever's avatar
    NFS: Adjust nfs_clone_mount structure to store "struct sockaddr *" · 6677d095
    Chuck Lever authored
    Change the addr field in the nfs_clone_mount structure to store a "struct
    sockaddr *" to support non-IPv4 addresses in the NFS client.
    
    Note this is mostly a cosmetic change, and does not actually allow
    referrals using IPv6 addresses.  The existing referral code assumes that
    the server returns a string that represents an IPv4 address.  This code
    needs to support hostnames and IPv6 addresses as well as IPv4 addresses,
    thus it will need to be reorganized completely (to handle DNS resolution
    in user space).
    Signed-off-by: default avatarChuck Lever <chuck.lever@oracle.com>
    Cc: Aurelien Charbon <aurelien.charbon@ext.bull.net>
    Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
    6677d095
client.c 35.7 KB