1. 08 12月, 2011 3 次提交
  2. 07 12月, 2011 1 次提交
  3. 06 12月, 2011 6 次提交
  4. 05 12月, 2011 6 次提交
  5. 03 12月, 2011 1 次提交
  6. 02 12月, 2011 20 次提交
  7. 01 12月, 2011 3 次提交
    • J
      Btrfs: fix meta data raid-repair merge problem · f4a8e656
      Jan Schmidt 提交于
      Commit 4a54c8c1 introduced raid-repair, killing the individual
      readpage_io_failed_hook entries from inode.c and disk-io.c. Commit
      4bb31e92 introduced new readahead code, adding a readpage_io_failed_hook to
      disk-io.c.
      
      The raid-repair commit had logic to disable raid-repair, if
      readpage_io_failed_hook is set. Thus, the readahead commit effectively
      disabled raid-repair for meta data.
      
      This commit changes the logic to always attempt raid-repair when needed and
      call the readpage_io_failed_hook in case raid-repair fails. This is much
      more straight forward and should have been like that from the beginning.
      Signed-off-by: NJan Schmidt <list.btrfs@jan-o-sch.net>
      Reported-by: NStefan Behrens <sbehrens@giantdisaster.de>
      Signed-off-by: NChris Mason <chris.mason@oracle.com>
      f4a8e656
    • S
      arm/imx: fix irq_base for gpio · 04aafd71
      Shawn Guo 提交于
      When gpio core dynamically allocate gpio number for a port, it starts
      from the end of the total range, 0 ~ ARCH_NR_GPIOS.  That said, the
      earlier a port gets probed, the bigger gpio number it gets assigned.
      To match this, the irq_base for gpio should be assigned from
      'MXC_GPIO_IRQ_START + ARCH_NR_GPIOS' decreasingly.
      Signed-off-by: NShawn Guo <shawn.guo@linaro.org>
      04aafd71
    • S
      arm/imx: fix return type of callback passed to of_irq_init() · 2a3267a4
      Shawn Guo 提交于
      The of_irq_init() expects the callback passed by .data of of_device_id
      return 'int' instead of 'void'.  This patch fixes it to have
      irq_init_cb() return the correct value, and in turn have the secondary
      interrupt controller (gpio in this case) initialized properly and also
      eliminate the error message 'of_irq_init: children remain, but no
      parents' which was overlooked before.
      Signed-off-by: NShawn Guo <shawn.guo@linaro.org>
      2a3267a4