1. 19 5月, 2008 1 次提交
  2. 26 4月, 2008 1 次提交
    • J
      locks: don't call ->copy_lock methods on return of conflicting locks · 1a747ee0
      J. Bruce Fields 提交于
      The file_lock structure is used both as a heavy-weight representation of
      an active lock, with pointers to reference-counted structures, etc., and
      as a simple container for parameters that describe a file lock.
      
      The conflicting lock returned from __posix_lock_file is an example of
      the latter; so don't call the filesystem or lock manager callbacks when
      copying to it.  This also saves the need for an unnecessary
      locks_init_lock in the nfsv4 server.
      
      Thanks to Trond for pointing out the error.
      Signed-off-by: NJ. Bruce Fields <bfields@citi.umich.edu>
      Cc: Trond Myklebust <Trond.Myklebust@netapp.com>
      1a747ee0
  3. 24 4月, 2008 5 次提交
  4. 19 4月, 2008 1 次提交
  5. 15 2月, 2008 2 次提交
  6. 02 2月, 2008 12 次提交
  7. 10 10月, 2007 8 次提交
  8. 20 7月, 2007 1 次提交
    • P
      mm: Remove slab destructors from kmem_cache_create(). · 20c2df83
      Paul Mundt 提交于
      Slab destructors were no longer supported after Christoph's
      c59def9f change. They've been
      BUGs for both slab and slub, and slob never supported them
      either.
      
      This rips out support for the dtor pointer from kmem_cache_create()
      completely and fixes up every single callsite in the kernel (there were
      about 224, not including the slab allocator definitions themselves,
      or the documentation references).
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      20c2df83
  9. 19 7月, 2007 1 次提交
    • J
      locks: rename lease functions to reflect locks.c conventions · a9933cea
      J. Bruce Fields 提交于
      We've been using the convention that vfs_foo is the function that calls
      a filesystem-specific foo method if it exists, or falls back on a
      generic method if it doesn't; thus vfs_foo is what is called when some
      other part of the kernel (normally lockd or nfsd) wants to get a lock,
      whereas foo is what filesystems call to use the underlying local
      functionality as part of their lock implementation.
      
      So rename setlease to vfs_setlease (which will call a
      filesystem-specific setlease after a later patch) and __setlease to
      setlease.
      
      Also, vfs_setlease need only be GPL-exported as long as it's only needed
      by lockd and nfsd.
      Signed-off-by: N"J. Bruce Fields" <bfields@citi.umich.edu>
      a9933cea
  10. 18 7月, 2007 3 次提交
  11. 11 7月, 2007 1 次提交
  12. 10 5月, 2007 1 次提交
  13. 07 5月, 2007 3 次提交