1. 06 Feb, 2002 9 commits
    • 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 31 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
    • Kai Germaschewski's avatar
      [PATCH] 2.5.3 ISDN charge hup fix · 4de4ffaa
      Kai Germaschewski authored
      the appended patch by Igmar Palsenberg fixes the CHARGE_HUP functionality
      (automatically hang up just before the next charging unit)
      4de4ffaa
    • Kai Germaschewski's avatar
      [PATCH] 2.5.3 ISDN devfs fix · 77d21309
      Kai Germaschewski authored
      the appended patch by Adrian Bunk removes yet another leftover from
      the /dev/isdnX devices (which causes an build error when
      CONFIG_DEVFS_FS=y).
      77d21309
    • Niels Kristian Bech Jensen's avatar
      [PATCH] Two fixes for linux-2.5.3. · 10461eef
      Niels Kristian Bech Jensen authored
       Correct typo in Documentation/Changes.
       Remove duplicate code in arch/i386/boot/bootsect.S.
      10461eef
    • Petr Vandrovec's avatar
      [PATCH] crc32 and lib.a (was Re: [PATCH] nbd in 2.5.3 does · 38568a97
      Petr Vandrovec authored
        I've found that multiple level initcalls went into kernel
      behind my back, so you can throw away my yesterday patch
      which converted lib.a => lib.o, and apply this one.
      
      [Patch tested with both lib.a and lib.o - it boots correctly
      in both cases]
      38568a97
    • Petr Vandrovec's avatar
      [PATCH] Re: [PATCH] nbd in 2.5.3 does not work, and can cause severe damage when read-write · c531105e
      Petr Vandrovec authored
      Linus, this reverts limit for request size from 10KB to unlimited.
      Although no released nbd version supports it, it is certainly better to
      add support to servers than cripple clients if incompatibility does
      not matter.
      c531105e
    • Trond Myklebust's avatar
      [PATCH] Drop reliance on file->f_dentry in NFS reads/writes · bcfb332a
      Trond Myklebust authored
      Following a request by David Chow on linux fsdevel, this patch causes
      NFS read and write requests to take the inode from page->mapping->host
      rather than relying on file->f_dentry->d_inode. Apparently this will
      simplify some work he is doing on another filesystem.
      
      In any case, it cleans up the current mix of sometimes doing one
      thing, sometimes the other (historical cruft), and puts NFS client
      behaviour on par with what is done in other filesystems...
      bcfb332a
    • Trond Myklebust's avatar
      [PATCH] Fix spurious ETXTBSY errors due to late release of struct file · b67b3c16
      Trond Myklebust authored
        The following patch should fix a problem of ETXTBSY sometimes
      occurring if one tries to run a file straight after compilation.
      
      The problem is that both NFS read and write requests can currently
      hold a count on the struct file. This is done partly so as to be able
      to pass along the RPC credential (which is cached in the struct file),
      and partly so that asynchronous writes can report any errors via the
      file->f_error mechanism.
      
      The problem is that both the read and write requests may persist even
      after file close() occurs. For O_RDONLY files, this is not a problem,
      but for O_WRONLY, and O_RDWR files, the fact that the struct file is
      not released until the last call to nfs_release_request() means that
      inode->i_writecount does not necessarily get cleared upon file
      close().
      
      The following patch fixes both these issues.
      
        - NFS read requests no longer hold the struct file. They take a
          count on the the RPC credential itself.
      
        - NFS write requests still hold the struct file, since they want to
          report errors to sys_close() using the file->f_error mechanism.
          However they are made to release the page, credential, and file
          structures as soon as the write is completed instead of following
          the current practice of waiting for the last nfs_page request
          release.
      b67b3c16
    • Trond Myklebust's avatar
      [PATCH] NFS lookup code rewrite w/o open(".") fix... · 0d86f2ec
      Trond Myklebust authored
        This is a resend of the NFS lookup code rewrite, but with the open(".")
      VFS fix removed. (I'll resend the 'uses d_revalidate()' version
      separately after a suitable delay to allow for comments.)
      
        Issues fixed by this patch:
      
       - Use the directory mtime in order to give us a hint when we should
         check for namespace changes.
      
       - Add support for the 'nocto' flag, in order to turn off the strict
         attribute cache revalidation on file open().
      
       - Simplify inode lookup. Don't check the 'fsid' field (which appears
         to be buggy in too many servers in order to be reliable). Instead
         we only rely on the inode number (a.k.a. 'fileid') and the
         (supposedly unique) filehandle.
      0d86f2ec
    • Greg Kroah-Hartman's avatar
      [PATCH] USB ohci-hcd driver update · a5c9b326
      Greg Kroah-Hartman authored
      Here's a patch against 2.5.3 for the USB ohci-hcd driver that does the
      following:
      	- doesn't assume CONFIG_DEBUG_SLAB
      	- unlink from interrupt completions now work
      	- doesn't force debugging on
      	- updated copyright / license statements
      	- slightly smaller object size
      	- fewer inlined magic numbers
      	- removes unused fields from data structures
      	- header file reorg, doc fixup
      This patch was done by David Brownell.
      a5c9b326
    • Greg Kroah-Hartman's avatar
      [PATCH] USB vicam driver update · 25562ed9
      Greg Kroah-Hartman authored
      Here's a patch against 2.5.3 for the USB vicam driver that removes the
      use of interruptible_sleep_on() in the driver.  This patch was done by
      Oliver Neukum.
      25562ed9
    • Greg Kroah-Hartman's avatar
      [PATCH] USB core update · 36660432
      Greg Kroah-Hartman authored
      Here's a patch against 2.5.3 for the USB core that fixes a possible
      initialization bug for some platforms when allocating a new usb, and
      changes the warning level on a message (it isn't an error.)  This patch
      was done by Oliver Neukum and David Brownell.
      36660432
    • Greg Kroah-Hartman's avatar
      [PATCH] USB stv680 driver update · 09d84299
      Greg Kroah-Hartman authored
      Here's a patch against 2.5.3 for the USB stv680 driver that fixes two
      bugs in the existing driver.  This patch was done by Kevin Sisson.
      09d84299
    • Greg Kroah-Hartman's avatar
      [PATCH] USB printer driver update · ab11e8f7
      Greg Kroah-Hartman authored
      Here's a patch against 2.5.3 for the USB printer driver that does the
      following:
      	- removes the races inherent in sleep_on
      	- uses 2.5 style of module usage counting
      	- kills a lockup on failure of usb_submit_urb
      This patch was done by Oliver Neukum.
      ab11e8f7
    • Greg Kroah-Hartman's avatar
      [PATCH] USB pegasus driver update · d599d989
      Greg Kroah-Hartman authored
      Here's a patch against 2.5.3 for the USB pegasus driver that does the
      following:
      	- fixes __FUNCTION__ warnings on gcc-3.0.3 and up
      	- added 3 more devices
      	- fixed memory leak
      This patch was done by Petko Manolov and Oliver Neukum.
      d599d989
    • Greg Kroah-Hartman's avatar
      [PATCH] USB Kaweth driver update · b1481cdc
      Greg Kroah-Hartman authored
      Here's a patch against 2.5.3 for the USB kaweth driver that does the
      following:
      	- removes SMP deadlock
      	- removes nfs deadlock
      	- fixes a memory leak when the firmware is not loaded.
      	- few other minor cleanups.
      This patch was done by Oliver Neukum.
      b1481cdc
    • Greg Kroah-Hartman's avatar
      [PATCH] USB Config.help update · 491b5970
      Greg Kroah-Hartman authored
      Here's a patch against 2.5.3 that updates the Config.help entries for
      the USB microtek and hpusbscsi drivers.
      This patch was done by Oliver Neukum.
      491b5970
    • Greg Kroah-Hartman's avatar
      [PATCH] USB Kawasaki driver maintainer change · c221ea86
      Greg Kroah-Hartman authored
      Here's a patch against 2.5.3 that changes the maintainer of the USB
      Kawasaki driver to Oliver Neukum.
      c221ea86
    • Hans Reiser's avatar
      [PATCH] reiserfs patchset, patch 9 of 9 09-64bit_bitops_fix-1.diff · c5182af6
      Hans Reiser authored
      09-64bit_bitops_fix-1.diff
          Bitopts arguments must be long, not int.
      c5182af6
    • Hans Reiser's avatar
      [PATCH] reiserfs patchset, patch 8 of 9 08-unfinished_rebuildtree_message.diff · 52800f5c
      Hans Reiser authored
      
      08-unfinished_rebuildtree_message.diff
          Give a proper explanation if unfinished reiserfsck --rebuild-tree
          run on a fs was detected.
      52800f5c
    • Hans Reiser's avatar
      [PATCH] reiserfs patchset, patch 7 of 9 07-remove_nospace_warnings.diff · a921332a
      Hans Reiser authored
      07-remove_nospace_warnings.diff
          Do not print scary warnings in out of free space situations.
      a921332a
    • Hans Reiser's avatar
      [PATCH] reiserfs patchset, patch 6 of 9 06-return_braindamage_removal.diff · 2a78672f
      Hans Reiser authored
      06-return_braindamage_removal.diff
          Kill stupid code like 'goto label ; return 1;'
      2a78672f
    • Hans Reiser's avatar
      [PATCH] reiserfs patchset, patch 5 of 9 05-kernel-reiserfs_fs_h-offset_v2.diff · 88e3e05d
      Hans Reiser authored
      05-kernel-reiserfs_fs_h-offset_v2.diff
          Convert erroneous le64_to_cpu to cpu_to_le64
      88e3e05d
    • Hans Reiser's avatar
      [PATCH] reiserfs patchset, patch 4 of 9 04-nfs_stale_inode_access.diff · a64b7007
      Hans Reiser authored
      04-nfs_stale_inode_access.diff
          This is to fix a case where stale NFS handles are correctly detected as
          stale, but inodes assotiated with them are still valid and present in cache,
          hence there is no way to deal with files, these handles are attached to.
          Bug was found and explained by
          Anne Milicia <milicia@missioncriticallinux.com>
      a64b7007
    • Hans Reiser's avatar
      [PATCH] reiserfs patchset, patch 3 of 9 03-key_output_fix.diff · 1507b1c6
      Hans Reiser authored
      03-key_output_fix.diff
          Fix all the places where cpu key is attempted to be printed as ondisk key
      1507b1c6
    • Hans Reiser's avatar
      [PATCH] reiserfs patchset, patch 2 of 9 02-prealloc_list_init.diff · 71b2b4bb
      Hans Reiser authored
      02-prealloc_list_init.diff
          prealloc list was forgotten to be initialised.
      71b2b4bb