1. 18 Feb, 2002 7 commits
    • Neil Brown's avatar
      [PATCH] PATCH 7/7: knfsd cleanups - module initialisation · c0d68f59
      Neil Brown authored
      Tidyup init/exit for nfsd module
      
      move nfsd_init into an initcall with other module
      startup.  This means that "initialized" isn't needed for
      any of the files that use it, as the bits are always initialised if
      in use.
      c0d68f59
    • Neil Brown's avatar
      [PATCH] PATCH 6/7: knfsd cleanups - syscall cleanup · ff820210
      Neil Brown authored
      Cleanup the syscall interface to nfsd
      
      1/ add an "owner" field to the nfsd_linkage structure
      2/ grab a reference to that module before calling the syscall
      3/ Remove the reference counting from inside the module
      4/ Always allow nfsd module to be called, even if compile with
      	CONFIG_NFSD == N
         ( but not if CONFIG_MODULES also == N)
      ff820210
    • Neil Brown's avatar
      [PATCH] PATCH 5/7: knfsd cleanups - mkdev · c4dd7702
      Neil Brown authored
      Use MKDEV for making device number from components
      
      This patch is thanks to GOTO Masanori <gotom@debian.or.jp>
      c4dd7702
    • Neil Brown's avatar
      [PATCH] PATCH 4/7: knfsd cleanups - vfs.c improvements · dda8a81e
      Neil Brown authored
      Tidy up some vfs calls in nfsd
      
      1/ changes to sys_fsync had not also been made to nfsd_sync.
         Now nfsd_sync calls filemap_fdatasync and filemap_fdatawait.
      2/ change nfsd_readdir to use vfs_readdir instead of i_op->readdir
      dda8a81e
    • Neil Brown's avatar
      [PATCH] PATCH 3/7: knfsd cleanups - incorrect use of inode_change_ok · c5d13553
      Neil Brown authored
      Get nfsd_setattr to not put too much weight on inode_change_ok
      
      nfsd_currently calls inode_change_ok and does not try setattr if this fails.
      However this is wrong.  If a filesystem defines it's own i_op->setattr, then
      it might use a completely different mechanisim for determining what is ok.
      nfsd shouldn't assume...
      
      We still use inode_change_ok when normalising NFSv2 "touch" requests, but
      only in passing.
      c5d13553
    • Neil Brown's avatar
      [PATCH] PATCH 2/7: knfsd cleanup - FAT shouldn't return NULL · 93c93658
      Neil Brown authored
      Stop fat_fh_to_dentry returning NULL
      
      the fh_to_dentry routines should never return NULL.
      The caller expects an ERR_PTR or a valid (possibly negative)
      dentry.  fat did the wrong thing and so could oops.
      93c93658
    • Neil Brown's avatar
      [PATCH] PATCH 1/7: knfsd cleanups - big fixes · 2712419f
      Neil Brown authored
      Fix bugs recently introduced into kNFSd
      
      When searching a list.h list, we cannot export
      to find NULL at the end.  Instead we return a pointer
      when found, or NULL if nothing found.  Same bug, 4 times.
      
      The seq_file improvements to /proc/fs/nfs/exports got the counting
      wrong so that some clients would get reported twice, always the last.
      2712419f
  2. 13 Feb, 2002 25 commits
  3. 12 Feb, 2002 8 commits
    • Ingo Molnar's avatar
      a cleanup and a bugfix in the preemptive kernel: · 9bf40b14
      Ingo Molnar authored
      - the PREEMPT_ACTIVE trick is not needed
      
      - schedule() should check for need_resched, we might miss a
        reschedule otherwise.
      
      the cleanup also fixes the bug. The only reason why i kept
      preempt_schedule() was to fix up p->state to TASK_RUNNING,
      to make it possible to preempt from places that mark the
      task TASK_UNINTERRUPTIBLE before adding the task to a waitqueue,
      and thus a preemption in that small window could cause the
      task to be removed from the runqueue erroneously.
      9bf40b14
    • Ingo Molnar's avatar
    • Ingo Molnar's avatar
    • Martin Diehl's avatar
      [PATCH] usb_set_interface: correct toggle reset · 944b9581
      Martin Diehl authored
        
      this is a patch to prevent usb_set_interface() from erroneously resetting
      the toggles for all endpoints instead of only the affected ones from the
      requested interface/altsetting. I've also added some missing parentheses
      to related macros in usb.h as I prefered not to take special care for
      nasty side-effects ;-)
        
      Patch below was created against 2.4.18-pre9 (with some lines of offset it
      applies to 2.5.4-pre5 as well).
        
      Tested in multi-interface configuration to provide evidence it:
      * correctly identifies the affected endpoints and resets the toggles
      * doesn't touch endpoints from other interfaces
      * provides correct handling of shared EP0
      * solves an issue I had with 2.4.18-pre9 where setting one interface
        occasionally caused transfers on other interface to hang due to lost
        toggle synchronisation
      
      Despite being a pure bugfix, well localized and (IMHO) pretty obviously
      correct wrt. USB-spec, I'd like to suggest including this in early
      2.4.19-pre. Just in case some existing driver would somehow workaround
      the currently wrong behavior and might break with this fix. And it's
      not very urgent right now, as we are probably close to 2.4.18-rc1.
        
      Regards,
      Martin
      944b9581
    • Vojtech Pavlik's avatar
      usb hid driver: · bb16c313
      Vojtech Pavlik authored
      	- patch to fix bug where urbs were freed too soon.
      bb16c313
    • Jeff Garzik's avatar
      Add Macrolink board PCI ids to pci.ids and pci_ids.h. · d21fa620
      Jeff Garzik authored
      Contributor: Ed Vance @ Macrolink
      d21fa620
    • Jeff Garzik's avatar
      Add new pci id to 8139too net driver, for Allied Telesyn cardbus cards. · 4b19b09d
      Jeff Garzik authored
      Contributor: Go Taniguchi
      4b19b09d
    • Jeff Garzik's avatar
      Merge bug fixes and PPC-specific feature additions from 2.4.x · 007236e5
      Jeff Garzik authored
      into bmac and mace net drivers.
      
      Via Dave Jones.
      007236e5