1. 16 3月, 2009 1 次提交
    • J
      Use f_lock to protect f_flags · db1dd4d3
      Jonathan Corbet 提交于
      Traditionally, changes to struct file->f_flags have been done under BKL
      protection, or with no protection at all.  This patch causes all f_flags
      changes after file open/creation time to be done under protection of
      f_lock.  This allows the removal of some BKL usage and fixes a number of
      longstanding (if microscopic) races.
      Reviewed-by: NChristoph Hellwig <hch@lst.de>
      Cc: Al Viro <viro@ZenIV.linux.org.uk>
      Signed-off-by: NJonathan Corbet <corbet@lwn.net>
      db1dd4d3
  2. 13 3月, 2009 12 次提交
  3. 12 3月, 2009 6 次提交
  4. 11 3月, 2009 17 次提交
  5. 10 3月, 2009 2 次提交
    • M
      video: deferred io cleanup fix for sh_mobile_lcdcfb · 467fc498
      Magnus Damm 提交于
      Fix deferred io cleanup patch in the sh_mobile_lcdcfb driver.
      
      If probe() fails early the sh_mobile_lcdc_stop() function will
      be called to clean up deferred io. This patch modifies the
      code to only call fb_deferred_io_cleanup() after deferred io
      has been initialized.
      
      With this patch applied we no longer hit BUG_ON() inside
      fb_deferred_io_cleanup(). Triggers on a Migo-R with the
      SYS QVGA panel board unmounted.
      Signed-off-by: NMagnus Damm <damm@igel.co.jp>
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      467fc498
    • D
      Revert "[CPUFREQ] Disable sysfs ui for p4-clockmod." · 129f8ae9
      Dave Jones 提交于
      This reverts commit e088e4c9.
      
      Removing the sysfs interface for p4-clockmod was flagged as a
      regression in bug 12826.
      
      Course of action:
       - Find out the remaining causes of overheating, and fix them
         if possible. ACPI should be doing the right thing automatically.
         If it isn't, we need to fix that.
       - mark p4-clockmod ui as deprecated
       - try again with the removal in six months.
      
      It's not really feasible to printk about the deprecation, because
      it needs to happen at all the sysfs entry points, which means adding
      a lot of strcmp("p4-clockmod".. calls to the core, which.. bleuch.
      Signed-off-by: NDave Jones <davej@redhat.com>
      129f8ae9
  6. 09 3月, 2009 2 次提交