1. 30 Apr, 2003 18 commits
    • Andrew Morton's avatar
      [PATCH] update nr_threads commentary · 75ab6eef
      Andrew Morton authored
      From: Manfred Spraul <manfred@colorfullife.com>
      
      Update some no-longer-true comments around nr_threads locking.
      75ab6eef
    • Andrew Morton's avatar
      [PATCH] fs/ext3/super.c fix for orphan recovery error path · d514577e
      Andrew Morton authored
      From: Ernie Petrides <petrides@redhat.com>
      
      The problem resolved by this patch is that if a root file system has an
      error recorded from a previous mount, and then (when rebooting) the orphan
      recovery procedure is initiated, the recovery is correctly skipped but the
      file system is incorrectly left in a writable state.
      
      This causes the subsequent fsck to fail due to the root file system
      being dirty, and then requires manual intervention to get the system
      fully booted.
      d514577e
    • Andrew Morton's avatar
      [PATCH] simple mwave code cleanup · d37224c6
      Andrew Morton authored
      From: Paul B Schroeder <paulsch@haywired.net>
      
      The following patch simply moves the 'nr_registered_attrs' and
      'device_registered' variables in mwavedd.c into the MWAVE_DEVICE_DATA struct
      which is defined in mwavedd.h..
      d37224c6
    • Andrew Morton's avatar
      [PATCH] buffer.c unused vars · 6fc1e309
      Andrew Morton authored
      - Remove dead variable from block_read_full_page (Oleg Drokin)
      6fc1e309
    • Christoph Hellwig's avatar
      [PATCH] improved bdevname · 0948aa6d
      Christoph Hellwig authored
      0948aa6d
    • Andrew Morton's avatar
      [PATCH] proc_file_read fix · 72007d2d
      Andrew Morton authored
      From: Miklos.Szeredi@eth.ericsson.se (Miklos Szeredi)
      
      This fixes a problem with method 0 of proc_file_read (when the whole file
      is copied to the page).  The calculation of the final bytecount is wrong,
      and hence smaller then page size reads will give a truncated file.
      
      Current 2.4 kernels do it this way as well.
      72007d2d
    • Andrew Morton's avatar
      [PATCH] generic HDLC module API update · 3bf1ad5d
      Andrew Morton authored
      From: Krzysztof Halasa <khc@pm.waw.pl>
      
      Updates the HDLC drivers to the approved module API.
      3bf1ad5d
    • Andrew Morton's avatar
      [PATCH] allow modular JBD · 748b3ebb
      Andrew Morton authored
      From: Paul Clements <Paul.Clements@SteelEye.com>
      
      Currently, when I build ext3 as a module, jbd gets built into the kernel
      proper.  This trivial patch allows jbd to be built as a module when ext3 is
      also modular.  I believe this is the intention, as this is how it works in
      2.4.  I've built and tested with modular jbd and ext3 on 2.5.68.
      748b3ebb
    • Andi Kleen's avatar
    • Andrew Morton's avatar
      [PATCH] DAC960 patch to entry points with a new fix · 946f68b9
      Andrew Morton authored
      From: Dave Olien <dmo@osdl.org>
      
      Christoph submitted a patch to linus last week fixing up some DAC960 driver
      entry points.  That patch will OOPS during boot on version 2 controller
      types.  Christoph's version of the disk_size() function was dereferencing
      a NULL pointer in it's "else" clause.
      
      Christoph's patch hasn't appeared in linus's BK tree yet.  So, I'm
      resending Christoph's orignal patch with my fix to disk_size() included.
      This patch can be applied to the driver in Linus's BK tree from April 28.
      
      Here's Christoph's original description of his patch:
      
      Some grepping showed that DAC960's open routine was duplicating parts
      of check_disk_change().  I went on fixing this by implementing a
      media_changed method and making DAC960_Open use it.  While looking
      at the surrounding code I noticed that
      
        (a) all methods weren't using the private data the upperlayer
            hands to it properly, but instead using kdev_t-based indexes
        (b) DAC960_Open/DAC960_Release was keeping never used counters
        (c) DAC960_Open was doing tons of checks the upperlayer already does
        (d) DAC960_Release was entirely superflous.
      
      The patch below corrects that and rewrites the block entry points
      into readable code - 100 LOC are gone and the same amount replaced
      by readable code.
      946f68b9
    • Andrew Morton's avatar
      [PATCH] Fix warnings in xd.c · 9af8670a
      Andrew Morton authored
      Fix a few unused var warnings in drivers/block/xd.c
      9af8670a
    • Andrew Morton's avatar
      [PATCH] APM locking fix · b86904dd
      Andrew Morton authored
      From: Manfred Spraul <manfred@colorfullife.com>
      
      apm.c:suspend() calls set_system_power_state() under (effectively)
      spin_lock_irq(i8253_lock).
      
      But set_system_power_state() unconditionally enables interrupts, in
      apm_bios_call_simple().  This generates nasty warnings from the uniprocessor
      spinlock debugging code, and would be deadlocky if APM worked on SMP.
      
      So drop the locks around the set_system_power_state() call.
      b86904dd
    • Andrew Morton's avatar
      [PATCH] irqs: bttv · f01c92ba
      Andrew Morton authored
      Update bttv driver to the new IRQ API.
      f01c92ba
    • Andrew Morton's avatar
      [PATCH] Fix slab-vs-gfp bitflag clash · e5ded0b1
      Andrew Morton authored
      Fixes a bug spotted by Alexey Mahotkin <alexm@hsys.msk.ru>: the slab-internal
      SLAB_NO_GROW bit clashes with __GFP_NORETRY.
      
      Fix that up so it won't happen again by moving the bit layout into gfp.h.
      e5ded0b1
    • Andrew Morton's avatar
      [PATCH] irqs: IRDA · c007c1ed
      Andrew Morton authored
      Some IRQ udpates for IRDA which seemed to get lost.
      c007c1ed
    • Andrew Morton's avatar
      [PATCH] irqs: i2c · 6e9f0111
      Andrew Morton authored
      IRQ API udpate in i2c-elektor.c
      6e9f0111
    • Rusty Russell's avatar
      [PATCH] __module_get · fbf7eda6
      Rusty Russell authored
      Introduces __module_get for places where we know we already hold
      a reference and ignoring the fact that the module is being "rmmod --wait"ed
      is simpler.
      fbf7eda6
    • Rusty Russell's avatar
      [PATCH] complete modinfo section · 67ac5b86
      Rusty Russell authored
      Restores .modinfo section, and uses it to store license and vermagic.
      67ac5b86
  2. 29 Apr, 2003 6 commits
  3. 28 Apr, 2003 11 commits
  4. 29 Apr, 2003 2 commits
  5. 28 Apr, 2003 3 commits
    • Arnaldo Carvalho de Melo's avatar
      o af_pppox: create module infrastructure for protocol modules · 9614c538
      Arnaldo Carvalho de Melo authored
      With this the pppox module is protected by the networking core and
      the pppox "core" protects modules for specific pppox protocols (pppoe,
      for instance), while doing it removed some not needed struct sock
      member initializations in pppoe_create that are done by sock_init_data.
      9614c538
    • Arnaldo Carvalho de Melo's avatar
      o pppox: simple code cleanups · 427375ed
      Arnaldo Carvalho de Melo authored
      . rename proto to pppox_protos, even being static this is too generic a name
      . use rc as the name for result variables, just for consistency with other
        net sources
      
      This is in preparation for having a proper net family module level modules
      infrastructure, with the top level (af_pppox) doing the module refcounting
      before calling any functions registered by the lower level protocol modules
      (in this case just PPPOE for now).
      427375ed
    • Arnaldo Carvalho de Melo's avatar
      o ipx: several simple cleanups · 95dcaa76
      Arnaldo Carvalho de Melo authored
      . use switch/case alignment at the same column, 
        more common in the kernel sources
      . remove outdated module refcounting comments
      . have just one exit (return) in the ioctl functions
      . use 'rc' for return variables, not ret or err, for
        consistency on naming.
      95dcaa76