Skip to content
  • Guillaume GARDET's avatar
    net: NFS: Add NFSv3 support · b0baca98
    Guillaume GARDET authored
    
    
    This patch enables NFSv3 support.
    If NFSv2 is available use it as usual.
    If NFSv2 is not available, but NFSv3 is available, use NFSv3.
    If NFSv2 and NFSv3 are not available, print an error message since NFSv4 is not supported.
    
    Tested on iMX6 sabrelite with 4 Linux NFS servers:
      * NFSv2 + NFSv3 + NFSv4 server: use NFSv2 protocol
      * NFSv2 + NFSv3 server: use NFSv2 protocol
      * NFSv3 + NFSv4 server: use NFSv3 protocol
      * NFSv3 server: use NFSv3 protocol
    
    Signed-off-by: default avatarGuillaume GARDET <guillaume.gardet@free.fr>
    Cc: Tom Rini <trini@konsulko.com>
    Cc: joe.hershberger@ni.com
    Acked-by: default avatarJoe Hershberger <joe.hershberger@ni.com>
    b0baca98