1. 16 Nov, 2010 2 commits
    • Paulius Zaleckas's avatar
      Regression: fix mounting NFS when NFSv3 support is not compiled · 1e657bd5
      Paulius Zaleckas authored
      Trying to mount NFS (root partition in my case) fails if CONFIG_NFS_V3
      is not selected. nfs_validate_mount_data() returns EPROTONOSUPPORT,
      because of this check:
      
      #ifndef CONFIG_NFS_V3
      	if (args->version == 3)
      		goto out_v3_not_compiled;
      #endif /* !CONFIG_NFS_V3 */
      
      and args->version was always initialized to 3.
      
      It was working in 2.6.36
      Signed-off-by: default avatarPaulius Zaleckas <paulius.zaleckas@gmail.com>
      Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
      1e657bd5
    • Trond Myklebust's avatar
      NLM: Fix a regression in lockd · 8e35f8e7
      Trond Myklebust authored
      Nick Bowler reports:
      There are no unusual messages on the client... but I just logged into
      the server and I see lots of messages of the following form:
      
        nfsd: request from insecure port (192.168.8.199:35766)!
        nfsd: request from insecure port (192.168.8.199:35766)!
        nfsd: request from insecure port (192.168.8.199:35766)!
        nfsd: request from insecure port (192.168.8.199:35766)!
        nfsd: request from insecure port (192.168.8.199:35766)!
      
      Bisected to commit 92476850 (SUNRPC:
      Properly initialize sock_xprt.srcaddr in all cases)
      
      Apparently, removing the 'transport->srcaddr.ss_family = family' from
      xs_create_sock() triggers this due to nlmclnt_lookup_host() incorrectly
      initialising the srcaddr family to AF_UNSPEC.
      Reported-by: default avatarNick Bowler <nbowler@elliptictech.com>
      Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
      8e35f8e7
  2. 15 Nov, 2010 32 commits
  3. 14 Nov, 2010 3 commits
  4. 13 Nov, 2010 3 commits