1. 31 Jul, 2014 1 commit
  2. 03 Feb, 2014 2 commits
  3. 01 Feb, 2014 1 commit
  4. 26 Jan, 2014 2 commits
  5. 05 Jan, 2014 1 commit
  6. 18 Sep, 2012 1 commit
    • Eric W. Biederman's avatar
      userns: Pass a userns parameter into posix_acl_to_xattr and posix_acl_from_xattr · 5f3a4a28
      Eric W. Biederman authored
      
       - Pass the user namespace the uid and gid values in the xattr are stored
         in into posix_acl_from_xattr.
      
       - Pass the user namespace kuid and kgid values should be converted into
         when storing uid and gid values in an xattr in posix_acl_to_xattr.
      
      - Modify all callers of posix_acl_from_xattr and posix_acl_to_xattr to
        pass in &init_user_ns.
      
      In the short term this change is not strictly needed but it makes the
      code clearer.  In the longer term this change is necessary to be able to
      mount filesystems outside of the initial user namespace that natively
      store posix acls in the linux xattr format.
      
      Cc: Theodore Tso <tytso@mit.edu>
      Cc: Andrew Morton <akpm@linux-foundation.org>
      Cc: Andreas Dilger <adilger.kernel@dilger.ca>
      Cc: Jan Kara <jack@suse.cz>
      Cc: Al Viro <viro@zeniv.linux.org.uk>
      Signed-off-by: default avatar"Eric W. Biederman" <ebiederm@xmission.com>
      5f3a4a28
  7. 11 Mar, 2012 1 commit
    • Trond Myklebust's avatar
      NFS: Fix a number of sparse warnings · 17280175
      Trond Myklebust authored
      
      Fix a number of "warning: symbol 'foo' was not declared. Should it be
      static?" conditions.
      
      Fix 2 cases of "warning: Using plain integer as NULL pointer"
      
      fs/nfs/delegation.c:263:31: warning: restricted fmode_t degrades to integer
        - We want to allow upgrades to a WRITE delegation, but should otherwise
          consider servers that hand out duplicate delegations to be borken.
      Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
      17280175
  8. 01 Aug, 2011 1 commit
  9. 25 Jul, 2011 1 commit
  10. 25 Jan, 2011 1 commit
  11. 14 May, 2010 1 commit
  12. 30 Mar, 2010 1 commit
    • Tejun Heo's avatar
      include cleanup: Update gfp.h and slab.h includes to prepare for breaking... · 5a0e3ad6
      Tejun Heo authored
      include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h
      
      percpu.h is included by sched.h and module.h and thus ends up being
      included when building most .c files.  percpu.h includes slab.h which
      in turn includes gfp.h making everything defined by the two files
      universally available and complicating inclusion dependencies.
      
      percpu.h -> slab.h dependency is about to be removed.  Prepare for
      this change by updating users of gfp and slab facilities include those
      headers directly instead of assuming availability.  As this conversion
      needs to touch large number of source files, the following script is
      used as the basis of conversion.
      
        http://userweb.kernel.org/~tj/misc/slabh-sweep.py
      
      The script does the followings.
      
      * Scan files for gfp and slab usages and update includes such that
        only the necessary includes are there.  ie. if only gfp is used,
        gfp.h, if slab is used, slab.h.
      
      * When the script inserts a new include, it looks at the include
        bloc...
      5a0e3ad6
  13. 18 Jun, 2009 1 commit
  14. 11 Mar, 2009 1 commit
    • Trond Myklebust's avatar
      NFSv3: Fix posix ACL code · ae46141f
      Trond Myklebust authored
      
      Fix a memory leak due to allocation in the XDR layer. In cases where the
      RPC call needs to be retransmitted, we end up allocating new pages without
      clearing the old ones. Fix this by moving the allocation into
      nfs3_proc_setacls().
      
      Also fix an issue discovered by Kevin Rudd, whereby the amount of memory
      reserved for the acls in the xdr_buf->head was miscalculated, and causing
      corruption.
      Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
      ae46141f
  15. 07 Oct, 2008 1 commit
  16. 09 Jul, 2008 1 commit
  17. 09 Oct, 2007 1 commit
  18. 09 Jun, 2006 1 commit
  19. 20 Mar, 2006 1 commit
    • Chuck Lever's avatar
      SUNRPC: eliminate rpc_call() · dead28da
      Chuck Lever authored
      
      Clean-up: replace rpc_call() helper with direct call to rpc_call_sync.
      
      This makes NFSv2 and NFSv3 synchronous calls more computationally
      efficient, and reduces stack consumption in functions that used to
      invoke rpc_call more than once.
      
      Test plan:
      Compile kernel with CONFIG_NFS enabled.  Connectathon on NFS version 2,
      version 3, and version 4 mount points.
      Signed-off-by: default avatarChuck Lever <cel@netapp.com>
      Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
      dead28da
  20. 18 Aug, 2005 2 commits
  21. 29 Jun, 2005 1 commit
  22. 22 Jun, 2005 4 commits