1. 06 Feb, 2002 34 commits
    • Alexander Viro's avatar
      [PATCH] (4/8) ->get_sb() switchover · 73949261
      Alexander Viro authored
      convert procfs to ->get_sb().  Similar to ext2, except that we use
      get_sb_single() instead of get_sb_bdev().  Notice the we _don't_ keep
      FS_SINGLE in flags - as the matter of fact, with ->get_sb() FS_SINGLE is
      useless. 
      73949261
    • Alexander Viro's avatar
      [PATCH] (3/8) ->get_sb() switchover · 165d5003
      Alexander Viro authored
      ext2 switched to ->get_sb().  For that we had
              a) turned ext2_read_super() into ext2_fill_super() (instead of
      "return NULL if failed and sb if succeeded" it's "return error value or
      0").
              b) added ext2_get_sb(type, flags, dev, data) - all it does is
      return get_sb_bdev(type, flags, dev, data, ext2_fill_super);
              c) replaced DECLARE_...() with explicit initializer.
      That's it.
      165d5003
    • Alexander Viro's avatar
      [PATCH] (2/8) ->get_sb() switchover · 702ff7f9
      Alexander Viro authored
      get_sb_bdev() et.al. get a new argument (fill_super) and become
      exported.
      702ff7f9
    • Alexander Viro's avatar
      [PATCH] (1/8) ->get_sb() switchover · 143845d1
      Alexander Viro authored
      	OK, here comes the long-promised switchover to ->get_sb().
      
      New method added - ->get_sb(type, flags, dev, data).  At this point we
      still keep ->read_super(), but it will go away in the end of series. 
      ->get_sb() is a generalization of get_sb_{bdev,nodev,single}() - as the
      matter of fact, these will become common helpers used by filesystems in
      their ->get_sb(). 
      143845d1
    • Linus Torvalds's avatar
      Merge bk://linuxusb.bkbits.net/linus-2.5 · c3463389
      Linus Torvalds authored
      into athlon.transmeta.com:/home/torvalds/v2.5/linux
      c3463389
    • Greg Kroah-Hartman's avatar
      Merge soap.kroah.net:/home/greg/linux/bk_main/gregkh-2.5 · beea5bda
      Greg Kroah-Hartman authored
      into soap.kroah.net:/home/greg/linux/bk_main/usb-3
      beea5bda
    • Greg Kroah-Hartman's avatar
      Merge soap.kroah.net:/home/greg/linux/bk_main/gregkh-2.5 · 13f03cc8
      Greg Kroah-Hartman authored
      into soap.kroah.net:/home/greg/linux/bk_main/usb-2
      13f03cc8
    • Greg Kroah-Hartman's avatar
    • Greg Kroah-Hartman's avatar
      usb_submit_urb() changes. · af2a09fe
      Greg Kroah-Hartman authored
      Patch done by Oliver Neukum.
      af2a09fe
    • Greg Kroah-Hartman's avatar
    • Greg Kroah-Hartman's avatar
      usb_submit_urb() changes for the drivers/usb/*.c drivers. · 6ab1c9a3
      Greg Kroah-Hartman authored
      Some driver changes were done by Oliver Neukum and David Brownell.
      6ab1c9a3
    • Greg Kroah-Hartman's avatar
      "mem_flags" support for the cris usb host controller. · da62b3af
      Greg Kroah-Hartman authored
      These changes have been approved by the CRIS maintainer.
      da62b3af
    • Greg Kroah-Hartman's avatar
      usb host controllers: · 2193b1ea
      Greg Kroah-Hartman authored
      	- add mem_flags support
      	- portions of this patch by Oliver Neukum and David Brownell.
      2193b1ea
    • Greg Kroah-Hartman's avatar
      usb core: · a707e953
      Greg Kroah-Hartman authored
      	- initial add of the "int mem_flags" call to the usb_submit_urb() call
      a707e953
    • Greg Kroah-Hartman's avatar
      patch from dimitry for the usb ibmcam driver that does: · 17a4de9d
      Greg Kroah-Hartman authored
        	- Updates the documentation
        	- Adds Veo Stingray support
        	- Fixes hotplug table dependency upon now-defunct symbol
        	- deletes drivers/usb/ibmcam.h
      17a4de9d
    • Greg Kroah-Hartman's avatar
      patch from Wolfgang Mües <wmues@nexgo.de> for the usb auerswald.c driver: · f0b11874
      Greg Kroah-Hartman authored
        	- Code-Review from Oliver Neukum: remove SMP races.
        	- Added some wake_up calls after auerbuf_releasebuf to wake up tasks waiting
        	  for cp buffers.
        	- Change the module count handling to automatic (owner: THIS_MODULE).
      f0b11874
    • Linus Torvalds's avatar
      fatfs_syms.c: · a1b0bef9
      Linus Torvalds authored
        Al Viro: fix a typo (destory->destroy)
      a1b0bef9
    • Hans Reiser's avatar
      [PATCH] reiserfs fix for inodes with wrong item versions (2.5) · 9e983e1e
      Hans Reiser authored
         This is hopefully last bugfix for a bug introduced by struct inode splitting.
         Because of setting i_flags to some value and then cleaning the i_flags
         contents later, on-disk items received wrong item version ob v3.6 filesystems
      9e983e1e
    • Alexander Viro's avatar
      [PATCH] fix for exit_fat_fs() · f3c4ee09
      Alexander Viro authored
      	Kudos to OGAWA Hirofumi for finding that one - gcc barfs on the
      current code, trying to define an alias to external symbol.
      f3c4ee09
    • Alexander Viro's avatar
      [PATCH] missing ->i_zombie in hpux_getdents() · 7b4b5a08
      Alexander Viro authored
      	hpux_getdents() contains a years-old copy of code from fs/readdir.c.
      Switched to use of vfs_readdir(), which does correct locking.
      7b4b5a08
    • Alexander Viro's avatar
      [PATCH] more sleep_on() removals · 9a468439
      Alexander Viro authored
      	Yet another flag/wait_queue pair bites the dust - hfs bitmap_{lock,wait}
      was trying to implement a semaphore.
      9a468439
    • Alexander Viro's avatar
      [PATCH] death of hfs rename_lock · 62297add
      Alexander Viro authored
      	Useless (lock,waitqueue) pair killed - we have fs-wide
      exclusion between renames enforced by VFS, so hfs rename_{lock,wait}
      can be removed.
      62297add
    • Alexander Viro's avatar
      [PATCH] hpfs cleanup (switch from sleep_on() to semaphore) · 6ccadfbb
      Alexander Viro authored
      	Pair (flag, wait_queue) in hpfs replaced with semaphore.
      6ccadfbb
    • Robert Love's avatar
      [PATCH] 2.5.4-pre1: further llseek cleanup (3/3) · 3ffa0b66
      Robert Love authored
      The previous patch did not provide protection for device lseek methods
      (drivers/* stuff).  This patch pushes the BKL into each of the remaining
      lseek methods -- without them we have a race.
      
      I'd much prefer to have a a better lock to push down than the BKL, but
      that will have to wait.
      
      Before you balk at the size, remember patch #2 in this series which
      removed much code ;-)
      
      Thanks to Al for assistance, especially a listing of affected files.
      
      	Robert Love
      3ffa0b66
    • Robert Love's avatar
      [PATCH] 2.5.4-pre1: further llseek cleanup (2/3) · a0289e82
      Robert Love authored
      This is the second patch of three implementing further llseek cleanups,
      against 2.5.4-pre1.  It does not depend on the other patches.
      
      This patch cleans up various code and quite nicely removes much more
      code than it adds.  Specifically:
      
      - remove static lseek method which merely reimplements
        the standard no_llseek in the following seven files:
        hci_vhci.c, ite8172.c, nec_vrc5477.c, auerswald.c,
        pipe.c, netlink_dev.c, and socket.c
      
      - remove fs/ufs/file.c::ufs_file_lseek -- Al says it is
        reimplementing generic_file_llseek, so let's use that
        instead (the comment about 32-bit sizes shouldn't be
        an issue, the generic method checks size)
      
      - include smp_lock.h in 3 files missed from previous
        'remove bkl' patch
      
      - Documentation/filesystem/Locking update
      
      Please, apply.
      
      	Robert Love
      a0289e82
    • Robert Love's avatar
      [PATCH] 2.5.4-pre1: further llseek cleanup (1/3) · 5284a260
      Robert Love authored
      This is the first of three patches implementing further llseek cleanup,
      against 2.5.4-pre1.
      
      The 'push locking into llseek methods' patch was integrated into 2.5.3.
      The networking filesystems, however, do not protect i_size and can not
      rely on the inode semaphore used in generic_file_llseek.
      
      This patch implements a remote_llseek method, which is basically the
      pre-2.5.3 version of generic_file_llseek.  Locking is done via the BKL.
      When we have a saner locking system in place, we can push it into this
      function in lieu.
      
      Ncpfs, nfs, and smbfs have been converted to use this new llseek.
      
      Note this is updated over the previous posted patch.
      
      	Robert Love
      5284a260
    • Alexander Viro's avatar
      [PATCH] (5/5) beginning of getattr series. · 65ae2396
      Alexander Viro authored
      ia64: switched from sys_new*stat() to vfs_*stat() and cleaned up. 
      65ae2396
    • Alexander Viro's avatar
      [PATCH] (4/5) beginning of getattr series. · d663eaa9
      Alexander Viro authored
      solaris: switched from sys_new*stat() to vfs_*stat() and cleaned up. 
      Missing LFS check added. 
      d663eaa9
    • Alexander Viro's avatar
      [PATCH] (3/5) beginning of getattr series. · 73136fa5
      Alexander Viro authored
      irix_...() switched from sys_new*stat() to vfs_*stat() and cleaned up. 
      Missing LFS check added
      73136fa5
    • Alexander Viro's avatar
      [PATCH] (2/5) beginning of getattr series. · 9bf01f06
      Alexander Viro authored
      stat(2) variants in arch/* that used to copy inode fields manually
      switched to vfs_*stat() and partially cleaned up
      9bf01f06
    • Alexander Viro's avatar
      [PATCH] (1/5) beginning of getattr series. · 70902864
      Alexander Viro authored
      	added new helpers - vfs_stat(), vfs_lstat() and vfs_fstat().
      	fs/stat.c switched to use them.
      
      Following patches will
      
      	stat(2) variants in arch/* that used to copy inode fields manually
      	switched to vfs_*stat() and partially cleaned up
      
      	irix_...() switched from sys_new*stat() to vfs_*stat() and cleaned
      	up.  Missing LFS check added.
      
      	similar for solaris ones
      
      	ditto for x86 compatibility ones on ia64.
      
      We are almost ready to switch to ->getattr() - let filesystem decide what
      values should go into ->st_... (e.g. for CODA life would become much
      easier if it could just use ->i_size of caching file, for supermount
      we want ->i_ino inherited from underlying fs, etc.)
      
      Another thing that needs to be done is fixing the rest of LFS/uid size
      fsckups in architecture-specific variants of stat() - I've fixed several,
      but quite a few are still there.
      70902864
    • Alexander Viro's avatar
      [PATCH] (2/2) inode trimming · 4b64f8f0
      Alexander Viro authored
      	procfs switched to alloc_inode/destroy_inode.
      4b64f8f0
    • Alexander Viro's avatar
      [PATCH] (1/2) inode trimming · 628561a6
      Alexander Viro authored
      	more inode->u trimming - socket_i is killed.
      628561a6
    • Dave McCracken's avatar
      [PATCH] Third version of signal changes for thread groups · 676952b9
      Dave McCracken authored
      During the course of developing our pthread library (the NGPT pthread
      library) it became clear we needed some kernel support for handling
      signals.  This patch helps the library by redirecting all signals sent
      to tasks in a thread group to the thread group leader.  It also defines
      the tkill() system call so the library can signal a specific task if
      necessary. 
      
      Given that as far as I know NGPT is the only user of thread groups, and
      that this change would benefit any other user of thread groups, I'm
      submitting this for inclusion in the 2.5 kernel.
      
      Note that this patch also adds support for sys_gettid() for the
      architectures that don't have it.  While this could have been split into a
      spearate patch, it would create conflicts since this patch also adds
      sys_tkill(), so I felt it was cleaner to leave them together.
      
      Dave McCracken
      
      ======================================================================
      Dave McCracken          IBM Linux Base Kernel Team      1-512-838-3059
      dmccr@us.ibm.com                                        T/L   678-3059
      676952b9
  2. 05 Feb, 2002 6 commits
    • Linus Torvalds's avatar
      defconfig: · 040fdeaf
      Linus Torvalds authored
        update
      040fdeaf
    • Linus Torvalds's avatar
      Makefile: · 1e5acec0
      Linus Torvalds authored
        Update version
      1e5acec0
    • Vojtech Pavlik's avatar
      · 1c025398
      Vojtech Pavlik authored
      The patch moves:
      
      	* joystick drivers from drivers/char/joystick to drivers/input/joystick
      	* gameport drivers from drivers/char/joystick to drivers/input/gameport
      	* serio drivers from drivers/char/joystick to drivers/input/serio
      
      I don't think the joystick drivers should stay in char, because they're
      NOT character device drivers (check for register_chrdev, none to be found).
      
      It also fixes build problems with sound driver gameport support.
      1c025398
    • Kai Germaschewski's avatar
      [PATCH] 2.5.3 ISDN work around buggy hw · 88d3c6a5
      Kai Germaschewski authored
      the appended patch works around a bug in the PLX9050 chip. This chip is
      used in various PCI ISDN adapters (it's an PCI interface chip) and has
      an erratum when the BAR 0/1 has bit 7 set (the size of the region is
      0x80, so aligning it to 0x80 is legal and really happens for people).
      
      This workaround has been tested by a user who hit this problem with a
      Gazel card. Basically the same fix has been done for Elsa cards, but it's
      untested.
      88d3c6a5
    • Kai Germaschewski's avatar
      [PATCH] 2.5.3 ISDN hisax_fcpcipnp driver fix · 4e8cbe30
      Kai Germaschewski authored
      the appended patch fixes a problem where the ->rcvidx variable was not
      initialized properly.
      4e8cbe30
    • Kai Germaschewski's avatar
      [PATCH] 2.5.3 ISDN undefined behavior fix · 5f960151
      Kai Germaschewski authored
      the appended patch fixes a case of undefined behavior, found by
      Urs Thuermann and "VDA".
      5f960151