1. 25 Sep, 2004 2 commits
    • Matthew Wilcox's avatar
      [PATCH] fix posix_locks_deadlock() · 19c631d4
      Matthew Wilcox authored
      The "blocked_list" used for POSIX deadlock detection should only contain
      POSIX locks, or posix_locks_deadlock() can get confused.
      
      As I've noted before (but never posted a patch), we should probably stop
      checking for deadlock.  POSIX says it's optional for an implementation
      to check for deadlock, and since the change to match on tgid, we can
      report a deadlock when none exists.
      
      [ Further explanation for Linus: POSIX locks and BSD locks don't block
        each other, so checking that the blocker is a POSIX lock also implies
        that the waiter is a POSIX lock. ]
      19c631d4
    • Linus Torvalds's avatar
      Make smbfs with UNIX extensions get file disk usage count right. · df60db4e
      Linus Torvalds authored
      We need to convert from bytes to blocks, and we also need to
      handle the fact that old smbd's will round up the disk usage
      bytecount to even multiples of 1MB, and gracefully fall back 
      on an estimate based on the file size instead in that case.
      
      Acked by Samuel Thibault who noted the problem in the first
      place, and Jeremy Allison wrt smbd behavior.
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      df60db4e
  2. 24 Sep, 2004 1 commit
  3. 25 Sep, 2004 1 commit
    • Russell King's avatar
      [ARM] Fix circular include dependency in asm/system.h · 064715b2
      Russell King authored
      The recent addition of linux/bitops.h inside linux/kernel.h has
      created a circular dependency:
      
      asm/system.h -> linux/kernel.h -> linux/bitops.h -> asm/bitops.h
       -> asm/system.h
      
      which results in an unbuildable kernel.  We appear not to need
      linux/kernel.h in asm/system.h, but do need linux/linkage.h, so
      make this the case.
      064715b2
  4. 24 Sep, 2004 36 commits