1. 23 May, 2006 3 commits
    • NeilBrown's avatar
      [PATCH] md: fix possible oops when starting a raid0 array · 5c4c3331
      NeilBrown authored
      This loop that sets up the hash_table has problems.
      
      Careful examination will show that the last time through, everything but
      the first line is pointless.  This is because all it does is change 'cur'
      and 'size' and neither of these are used after the loop.  This should ring
      warning bells...  That last time through the loop,
      
              size += conf->strip_zone[cur].size
      
      can index off the end of the strip_zone array.  Depending on what it finds
      there, it might exit the loop cleanly, or it might spin going further and
      further beyond the array until it hits an unmapped address.
      
      This patch rearranges the code so that the last, pointless, iteration of
      the loop never happens.  i.e.  the one statement of the last loop that is
      needed is moved the the end of the previous loop - or to before the loop
      starts - and the loop counter starts from 1 instead of 0.
      
      Cc: "Don Dupuis" <dondster@gmail.com>
      Signed-off-by: default avatarNeil Brown <neilb@suse.de>
      Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      5c4c3331
    • NeilBrown's avatar
      [PATCH] knfsd: Fix two problems that can cause rmmod nfsd to die · f2d39586
      NeilBrown authored
      Both cause the 'entries' count in the export cache to be non-zero at module
      removal time, so unregistering that cache fails and results in an oops.
      
      1/ exp_pseudoroot (used for NFSv4 only) leaks a reference to an export
         entry.
      2/ sunrpc_cache_update doesn't increment the entries count when it adds
         an entry.
      
      Thanks to "david m.  richter" <richterd@citi.umich.edu> for triggering the
      problem and finding one of the bugs.
      
      Cc: "david m. richter" <richterd@citi.umich.edu>
      Signed-off-by: default avatarNeil Brown <neilb@suse.de>
      Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      f2d39586
    • Andrew Morton's avatar
      [PATCH] sys_sync_file_range(): move exported flags outside __KERNEL__ · e46e4903
      Andrew Morton authored
      These flags are needed by userspace - move them outside __KERNEL__
      
      (Pointed out by dwmw2)
      
      Cc: David Woodhouse <dwmw2@infradead.org>
      Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      e46e4903
  2. 22 May, 2006 4 commits
    • David S. Miller's avatar
      353b28ba
    • Andrew Morton's avatar
      [SUNSU]: Fix license. · 9a2a9bb2
      Andrew Morton authored
      FATAL: modpost: GPL-incompatible module sunsu uses the GPL-only symbol tty_insert_flip_string_flags
      Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      9a2a9bb2
    • Linus Torvalds's avatar
      Revert "[PATCH] sched: fix interactive task starvation" · f1adad78
      Linus Torvalds authored
      This reverts commit 5ce74abe (and its
      dependent commit 8a5bc075), because of
      audio underruns.
      
      Reported by Rene Herman <rene.herman@keyaccess.nl>, who also pinpointed
      the exact cause of the underruns:
      
        "Audio underruns galore, with only ogg123 and firefox (browsing the
         GIT tree online is also a nice trigger by the way).
      
         If I back it out, everything is fine for me again."
      
      Cc: Rene Herman <rene.herman@keyaccess.nl>
      Cc: Mike Galbraith <efault@gmx.de>
      Acked-by: default avatarCon Kolivas <kernel@kolivas.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      f1adad78
    • Linus Torvalds's avatar
      Merge master.kernel.org:/pub/scm/linux/kernel/git/mchehab/v4l-dvb · c9d20af6
      Linus Torvalds authored
      * master.kernel.org:/pub/scm/linux/kernel/git/mchehab/v4l-dvb: (33 commits)
        V4L/DVB (3965): Fix CONFIG_VIDEO_VIVI=y build bug
        V4L/DVB (3964): Bt8xx/bttv-cards.c: fix off-by-one errors
        V4L/DVB (3914): Vivi build fix
        V4L/DVB (3912): Sparc32 vivi fix
        V4L/DVB (3832): Get_dvb_firmware: download nxt2002 firmware from new driver location
        V4L/DVB (3829): Fix frequency values in the ranges structures of the LG TDVS H06xF tuners
        V4L/DVB (3826): Saa7134: Missing 'break' in Terratec Cinergy 400 TV initialization
        V4L/DVB (3825): Remove broken 'fast firmware load' from cx25840.
        V4L/DVB (3819): Cxusb-bluebird: bug-fix: power down corrupts frontend
        V4L/DVB (3813): Add support for TCL M2523_5N_E tuner.
        V4L/DVB (3804): Tweak bandselect setup fox cx24123
        V4L/DVB (3803): Various correctness fixes to tuning.
        V4L/DVB (3797): Always wait for diseqc queue to become ready before transmitting a diseqc message
        V4L/DVB (3796): Add several debug messages to cx24123 code
        V4L/DVB (3795): Fix for CX24123 & low symbol rates
        V4L/DVB (3792): Kbuild: DVB_BT8XX must select DVB_ZL10353
        V4L/DVB (3790): Use after free in drivers/media/video/em28xx/em28xx-video.c
        V4L/DVB (3788): Fix compilation with V4L1_COMPAT
        V4L/DVB (3782): Removed uneeded stuff from pwc Makefile
        V4L/DVB (3775): Add VIVI Kconfig stuff
        ...
      c9d20af6
  3. 21 May, 2006 33 commits