1. 01 Apr, 2015 1 commit
    • Linus Torvalds's avatar
      Merge branch 'for-4.0' of git://linux-nfs.org/~bfields/linux · 1e848913
      Linus Torvalds authored
      Pull nfsd fixes from Bruce Fields:
       "Two main issues:
      
         - We found that turning on pNFS by default (when it's configured at
           build time) was too aggressive, so we want to switch the default
           before the 4.0 release.
      
         - Recent client changes to increase open parallelism uncovered a
           serious bug lurking in the server's open code.
      
        Also fix a krb5/selinux regression.
      
        The rest is mainly smaller pNFS fixes"
      
      * 'for-4.0' of git://linux-nfs.org/~bfields/linux:
        sunrpc: make debugfs file creation failure non-fatal
        nfsd: require an explicit option to enable pNFS
        NFSD: Fix bad update of layout in nfsd4_return_file_layout
        NFSD: Take care the return value from nfsd4_encode_stateid
        NFSD: Printk blocklayout length and offset as format 0x%llx
        nfsd: return correct lockowner when there is a race on hash insert
        nfsd: return correct openowner when there is a race to put one in the hash
        NFSD: Put exports after nfsd4_layout_verify fail
        NFSD: Error out when register_shrinker() fail
        NFSD: Take care the return value from nfsd4_decode_stateid
        NFSD: Check layout type when returning client layouts
        NFSD: restore trace event lost in mismerge
      1e848913
  2. 31 Mar, 2015 1 commit
    • Jeff Layton's avatar
      sunrpc: make debugfs file creation failure non-fatal · f9c72d10
      Jeff Layton authored
      We currently have a problem that SELinux policy is being enforced when
      creating debugfs files. If a debugfs file is created as a side effect of
      doing some syscall, then that creation can fail if the SELinux policy
      for that process prevents it.
      
      This seems wrong. We don't do that for files under /proc, for instance,
      so Bruce has proposed a patch to fix that.
      
      While discussing that patch however, Greg K.H. stated:
      
          "No kernel code should care / fail if a debugfs function fails, so
           please fix up the sunrpc code first."
      
      This patch converts all of the sunrpc debugfs setup code to be void
      return functins, and the callers to not look for errors from those
      functions.
      
      This should allow rpc_clnt and rpc_xprt creation to work, even if the
      kernel fails to create debugfs files for some reason.
      
      Symptoms were failing krb5 mounts on systems using gss-proxy and
      selinux.
      
      Fixes: 388f0c77 "sunrpc: add a debugfs rpc_xprt directory..."
      Cc: stable@vger.kernel.org
      Signed-off-by: default avatarJeff Layton <jeff.layton@primarydata.com>
      Acked-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      Signed-off-by: default avatarJ. Bruce Fields <bfields@redhat.com>
      f9c72d10
  3. 30 Mar, 2015 4 commits
  4. 29 Mar, 2015 7 commits
  5. 28 Mar, 2015 9 commits
  6. 27 Mar, 2015 10 commits
  7. 26 Mar, 2015 8 commits