An error occurred fetching the project authors.
  1. 25 Sep, 2002 1 commit
    • Ingo Molnar's avatar
      [PATCH] thread-flock-2.5.38-A3 · a16435af
      Ingo Molnar authored
      Ulrich found another small detail wrt. POSIX requirements for threads -
      this time it's the recursion features (read-held lock being write-locked
      means an upgrade if the same 'process' is the owner, means a deadlock if a
      different 'process').
      
      this requirement even makes some sense - the group of threads who own a
      lock really own all rights to the lock as well.
      
      These changes fix this, all testcases pass now.  (inter-process
      testcases as well, which are not affected by this patch.)
      
      (SIGURG and SIGIO semantics should also continue to work - there's some
      more stuff we can optimize with the new pidhash in this area, but that's
      for later.)
      a16435af
  2. 24 Sep, 2002 1 commit
  3. 14 Sep, 2002 1 commit
    • Petr Vandrovec's avatar
      [PATCH] 2.5.34-bk fcntl lockup · 8fd85682
      Petr Vandrovec authored
      This fixes endless loop without schedule which happens as soon as smbd
      invokes fcntl64(7, F_SETLK64, ...).  fcntl_setlk64 gets cmd F_SETLK64,
      not F_SETLK tested in the loop;
      
      Maybe return value from posix_lock_file should be changed to -EINPROGRESS
      or -EJUKEBOX instead of testing passed cmd in callers, but this oneliner
      works too. If you preffer changing posix_lock_file return value to clearly
      distinugish between -EAGAIN and lock request queued, I'll do that.
      8fd85682
  4. 10 Sep, 2002 1 commit
    • Matthew Wilcox's avatar
      [PATCH] sleeping file locks · 48b3fb54
      Matthew Wilcox authored
       - Add FL_SLEEP flag to indicate we intend to sleep and therefore desire
         to be placed on the block list.  Use it for POSIX & flock locks.
       - Remove locks_block_on.
       - Change posix_unblock_lock to eliminate a race that will appear once we
         don't use the BKL any more.
       - Update the comment for locks_same_owner() and rename it to
         posix_same_owner().
       - Change locks_mandatory_area() to allocate its lock on the stack and
         call posix_lock_file() instead of repeating that logic.
       - Rename the "caller" parameter to posix_lock_file() to "request"
         to better show that this is not to be inserted directly.
       - Redo some of the proc code a little.  Stop exposing kernel addresses
         to userspace (whoever thought _that_ was a good idea?!) and show how
         we should be printing the device name.  The last part is ifdeffed
         out to avoid breaking lslk.
       - Remove FL_BROKEN.  And there was much rejoicing.
      48b3fb54
  5. 03 Sep, 2002 1 commit
    • James Morris's avatar
      [PATCH] sigio/sigurg cleanup for 2.5.32 · 1add9f7a
      James Morris authored
      This is a cleanup of the sigio/sigurg code.
      
      Summary:
        o Removed sk->proc, SIGURG now sent via vfs, credentials checked
          during delivery.
        o SIOCSPGRP etc. ioctls use vfs, and work now for SIGIO as well
          as SIGURG.
        o Removed socket fcntl code.
        o Consolidate lsm file_set_fowner() hooks.
        o Fixed fowner race.
        o Fixed associated mainline memory leak in fcntl_dirnotify().
      1add9f7a
  6. 28 Aug, 2002 1 commit
  7. 29 Jul, 2002 1 commit
    • Matthew Wilcox's avatar
      [PATCH] fs/locks.c: eliminate locks_unlock_delete · 803e701d
      Matthew Wilcox authored
      locks_unlock_delete is buggy in a couple of different ways (previously
      reported by Brian Dixon). Rather than fix it, this patch simply deletes
      it and uses the normal posix file locking mechanisms to remove all locks
      in locks_remove_posix instead.
      803e701d
  8. 27 Jul, 2002 1 commit
    • Matthew Wilcox's avatar
      [PATCH] LSM file locking patch is bogus · c997a03d
      Matthew Wilcox authored
       - Remove third argument from file_lock security op.  Whether the lock is
         blocking or not cannot make any difference to a security module!
       - Fix the call in sys_flock to pass the translated lock command, not the
         original.
       - Add a call in fcntl_setlease.  If they're going to know about two types
         of lock, let's tell them about the third too.
      c997a03d
  9. 22 Jul, 2002 1 commit
  10. 04 Jul, 2002 1 commit
    • Alexander Viro's avatar
      [PATCH] ->i_dev switched to dev_t · 88cc0d3e
      Alexander Viro authored
      	* ->i_dev followed the example of ->s_dev - it's dev_t now.  All
      remaining uses of ->i_dev either outright want dev_t (stat()) or couldn't
      care less (printing major:minor in /proc/<pid>/maps, etc.)
      88cc0d3e
  11. 18 Jun, 2002 1 commit
    • Stephen Rothwell's avatar
      [PATCH] make file leases work as they should · 23b9a9a3
      Stephen Rothwell authored
      This patch fixes the following problems in the file lease:
      	when there are multiple shared leases on a file, all the
      		lease holders get notified when someone opens the
      		file for writing (used to be only the first).
      	when a nonblocking open breaks a lease, it will time out
      		as it should (used to never time out).
      
      This should make the leases code more usable (hopefully).
      23b9a9a3
  12. 12 Jun, 2002 1 commit
    • Matthew Wilcox's avatar
      [PATCH] fs/locks.c cleanup · 62737480
      Matthew Wilcox authored
       - Inline locks_notify_blocked.
       - Remove a couple of now-bogus comments.
       - Remove the obsolete F_SHLCK and F_EXLCK cases.
       - Remove the last remaining reference to FL_BROKEN.
      62737480
  13. 08 Jun, 2002 3 commits
    • Matthew Wilcox's avatar
      [PATCH] fs/locks.c: more cleanup · fd3020fe
      Matthew Wilcox authored
      Define the for_each_lock macro and start replacing ugly special for loops
      with it.  Rejig the interface between sys_flock and flock_lock_file to
      always pass a struct file_lock rather than a command.  Eliminate some
      gotos by simplifying the logic.  Remove some redundant initialisation.
      fd3020fe
    • Matthew Wilcox's avatar
      [PATCH] fs/locks.c: remove MSNFS define · 3102f3d2
      Matthew Wilcox authored
      This patch removes the MSNFS defines.  These locks have a wider purpose
      than emulating Microsoft NFS semantics.
      3102f3d2
    • Matthew Wilcox's avatar
      [PATCH] fs/locks.c: Only yield once for flocks · 7962ad19
      Matthew Wilcox authored
      This patch removes the annoying and confusing `wait' argument from
      many places.  The only change in behaviour is that we now yield once
      when unblocking other BSD-style flocks instead of once for each lock.
      
      This slightly improves the semantics for userspace.  Before, when we
      had two tasks waiting on a lock, the first one would receive the lock.
      Now, the one with the highest priority receives the lock.
      7962ad19
  14. 06 Jun, 2002 1 commit
  15. 05 Jun, 2002 2 commits
  16. 03 Jun, 2002 1 commit
    • Randy Hron's avatar
      [PATCH] remove space in cache names · 1f986d30
      Randy Hron authored
        Most /proc/slabinfo cache_names are in the format:
        cache_name.  There are a couple with spaces in the
        name, which is inconsistent and requires a special case
        when scripting.
      
        Changes "fasync cache" and "file lock cache" to have
        the usual underscore.
      1f986d30
  17. 21 Feb, 2002 1 commit
  18. 09 Feb, 2002 1 commit
  19. 05 Feb, 2002 8 commits
    • Linus Torvalds's avatar
      v2.5.1.9 -> v2.5.1.10 · 908920b1
      Linus Torvalds authored
      - Kai Germaschewski: ISDN updates
      - Al Viro: start moving buffer cache indexing to "struct block_device *"
      - Greg KH: USB update
      - Russell King: fix up some ARM merge issues
      - Ingo Molnar: scalable scheduler
      908920b1
    • Linus Torvalds's avatar
      v2.4.12 -> v2.4.12.1 · ad8dcf57
      Linus Torvalds authored
        - Trond Myklebust: deadlock checking in lockd server
        - Tim Waugh: fix up parport wrong #define
        - Christoph Hellwig: i2c update, ext2 cleanup
        - Al Viro: fix partition handling sanity check.
        - Trond Myklebust: make NFS use SLAB_NOFS, and not play games with PF_MEMALLOC
        - Ben Fennema: UDF update
        - Alan Cox: continued merging
        - Chris Mason: get /proc buffer memory sizes right after buf-in-page-cache
      ad8dcf57
    • Linus Torvalds's avatar
      v2.4.9.15 -> v2.4.10 · 8c7cba55
      Linus Torvalds authored
        - Andrew Grover: ACPI update
        - Al Viro: block devices..
        - Andrea Arcangeli: fix list manipulation bogosity
        - Trond Myklebust: 64-bit file locking fixes
        - Brad Hards: USB CDC ethernet
        - Chris Mason: reiserfs speedup
        - Robert Love: re-merge AMD 761 GART support that was lost in -ac merge
        - Adam Richter: check pci_module_init() return value
      8c7cba55
    • Linus Torvalds's avatar
      v2.4.9.8 -> v2.4.9.9 · 1d66e22e
      Linus Torvalds authored
        - Greg KH: start migration to new "min()/max()"
        - Roman Zippel: move affs over to "min()/max()".
        - Vojtech Pavlik: VIA update (make sure not to IRQ-unmask a vt82c576)
        - Jan Kara: quota bug-fix (don't decrement quota for non-counted inode)
        - Anton Altaparmakov: more NTFS updates
        - Al Viro: make nosuid/noexec/nodev be per-mount flags, not per-filesystem
        - Alan Cox: merge input/joystick layer differences, driver and alpha merge
        - Keith Owens: scsi Makefile cleanup
        - Trond Myklebust: fix oopsable race in locking code
        - Jean Tourrilhes: IrDA update
      1d66e22e
    • Linus Torvalds's avatar
      v2.4.6.1 -> v2.4.6.2 · adbc4706
      Linus Torvalds authored
        - merge with Alan (USB, zoran, sony motion-eye, rio, dmi-scan)
      adbc4706
    • Linus Torvalds's avatar
      v2.4.5.3 -> v2.4.5.4 · 7a9a18cf
      Linus Torvalds authored
        - Chris Mason: ReiserFS pre-allocation locking bugfix
        - David Miller: fix bitops users (requires "long" alignment)
        - Andrey Savochkin: file locking failure case SMP lock fix
        - Urban Widmark: smbfs update (avoid unnecessary flushing, make NetApp
        work)
        - Andrew Grover: ACPI update
        - Jeff Garzik: network driver updates
        - Maciej Rozycki: IO-APIC level trigger problem workaround
        - Rusty Russell: ipt_unclean fix
        - Richard Gooch: devfs update
      7a9a18cf
    • Linus Torvalds's avatar
      v2.4.1.2 -> v2.4.1.3 · c8ebfc88
      Linus Torvalds authored
        - Jens: better ordering of requests when unable to merge
        - Neil Brown: make md work as a module again (we cannot autodetect
        in modules, not enough background information)
        - Neil Brown: raid5 SMP locking cleanups
        - Neil Brown: nfsd: handle Irix NFS clients named pipe behavior and
        dentry leak fix
        - maestro3 shutdown fix
        - fix dcache hash calculation that could cause bad hashes under certain
        circumstances (Dean Gaudet)
        - David Miller: networking and sparc updates
        - Jeff Garzik: include file cleanups
        - Andy Grover: ACPI update
        - Coda-fs error return fixes
        - rth: alpha Jensen update
      c8ebfc88
    • Linus Torvalds's avatar
      Import changeset · 7a2deb32
      Linus Torvalds authored
      7a2deb32