1. 03 Jan, 2006 3 commits
  2. 30 Dec, 2005 1 commit
    • Linus Torvalds's avatar
      Insanity avoidance in /proc · 8b90db0d
      Linus Torvalds authored
      
      
      The old /proc interfaces were never updated to use loff_t, and are just
      generally broken.  Now, we should be using the seq_file interface for
      all of the proc files, but converting the legacy functions is more work
      than most people care for and has little upside..
      
      But at least we can make the non-LFS rules explicit, rather than just
      insanely wrapping the offset or something.
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      8b90db0d
  3. 29 Dec, 2005 2 commits
  4. 23 Dec, 2005 1 commit
  5. 22 Dec, 2005 1 commit
  6. 21 Dec, 2005 1 commit
    • Tom Zanussi's avatar
      [PATCH] relayfs: remove warning printk() in relay_switch_subbuf() · fd30fc32
      Tom Zanussi authored
      
      
      There's currently a diagnostic printk in relay_switch_subbuf() meant as
      a warning if you accidentally try to log an event larger than the
      sub-buffer size.
      
      The problem is if this happens while logging from somewhere it's not
      safe to be doing printks, such as in the scheduler, you can end up with
      a deadlock.  This patch removes the warning from relay_switch_subbuf()
      and instead prints some diagnostic info when the channel is closed.
      
      Thanks to Mathieu Desnoyers for pointing out the problem and
      suggesting a fix.
      Signed-off-by: default avatarTom Zanussi <zanussi@us.ibm.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      fd30fc32
  7. 20 Dec, 2005 3 commits
  8. 15 Dec, 2005 3 commits
  9. 12 Dec, 2005 2 commits
  10. 03 Dec, 2005 5 commits
  11. 30 Nov, 2005 6 commits
  12. 29 Nov, 2005 2 commits
  13. 28 Nov, 2005 8 commits
  14. 25 Nov, 2005 2 commits
    • Trond Myklebust's avatar
      NFS: Fix a spinlock recursion inside nfs_update_inode() · b37b03b7
      Trond Myklebust authored
      
      
       In cases where the server has gone insane, nfs_update_inode() may end
       up calling nfs_invalidate_inode(), which again calls stuff that takes
       the inode->i_lock that we're already holding.
      
       In addition, given the sort of things we have in NFS these days that
       need to be cleaned up on inode release, I'm not sure we should ever
       be calling make_bad_inode().
      
       Fix up spinlock recursion, and limit nfs_invalidate_inode() to clearing
       the caches, and marking the inode as being stale.
      
       Thanks to Steve Dickson <SteveD@redhat.com> for spotting this.
      Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
      b37b03b7
    • Trond Myklebust's avatar
      NFSv4: Fix typo in lock caching · ff604066
      Trond Myklebust authored
      
      
       When caching locks due to holding a file delegation, we must always
       check against local locks before sending anything to the server.
      Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
      ff604066