Skip to content
  1. Aug 14, 2009
  2. Aug 13, 2009
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.dk/linux-2.6-block · a3620f75
      Linus Torvalds authored
      * 'for-linus' of git://git.kernel.dk/linux-2.6-block:
        Remove double removal of blktrace directory
      a3620f75
    • Alan D. Brunelle's avatar
      Remove double removal of blktrace directory · 39cbb602
      Alan D. Brunelle authored
      commit fd51d251
      
      
      Author: Stefan Raspl <raspl@linux.vnet.ibm.com>
      Date:   Tue May 19 09:59:08 2009 +0200
      
          blktrace: remove debugfs entries on bad path
      
      added in an explicit invocation of debugfs_remove for bt->dir, in
      blk_remove_buf_file_callback we are also getting the directory removed. On
      occasion I am seeing memory corruption that I have bisected down to
      this commit. [The testing involves a (long) series of I/O benchmarks
      with blktrace invoked around the actual runs.] I believe that this
      committed patch is correct, but the problem actually lies in the code
      in blk_remove_buf_file_callback.
      
      With this patch I am able to consistently get complete runs whereas
      previously I could not get a single run to complete.
      
      The first part of the patch simply moves the debugfs_remove below the
      relay_close: the relay_close call will remove files under bt->dir, and
      so we should not remove the directory until all the files we created
      have been removed. (Note: This is not sufficient to fix the problem -
      the file system code has ref counts on the directoy, so our invocation
      does not cause the directory to actually be removed. Nonetheless, we
      should not rely upon that feature.)
      
      Signed-off-by: default avatarAlan D. Brunelle <alan.brunelle@hp.com>
      Signed-off-by: default avatarJens Axboe <jens.axboe@oracle.com>
      39cbb602
  3. Aug 12, 2009
  4. Aug 11, 2009
    • Takashi Iwai's avatar
      ALSA: hda - Don't override ADC definitions for ALC codecs · dd704698
      Takashi Iwai authored
      
      
      ALC269 and ALC861-VD parsers override the ADC definitions
      unconditionally without checking the spec definition.  This causes
      the problem when any inconsistent ADC is set up in the device quirk
      (like ALC272 with digital-mic).
      
      This patch avoids the overriding by adding the proper checks.
      
      Reference: Novell bnc#529467
      	https://bugzilla.novell.com/show_bug.cgi?id=529467
      
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      dd704698
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of... · 4d9c73f6
      Linus Torvalds authored
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/security-testing-2.6
      
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/security-testing-2.6:
        SELinux: fix memory leakage in /security/selinux/hooks.c
      4d9c73f6