1. 20 Jun, 2012 4 commits
    • Sage Weil's avatar
      libceph: use con get/put ops from osd_client · 88ed6ea0
      Sage Weil authored
      There were a few direct calls to ceph_con_{get,put}() instead of the con
      ops from osd_client.c.  This is a bug since those ops aren't defined to
      be ceph_con_get/put.
      
      This breaks refcounting on the ceph_osd structs that contain the
      ceph_connections, and could lead to all manner of strangeness.
      
      The purpose of the ->get and ->put methods in a ceph connection are
      to allow the connection to indicate it has a reference to something
      external to the messaging system, *not* to indicate something
      external has a reference to the connection.
      
      [elder@inktank.com: added that last sentence]
      Signed-off-by: default avatarSage Weil <sage@newdream.net>
      Reviewed-by: default avatarAlex Elder <elder@inktank.com>
      (cherry picked from commit 0d47766f)
      88ed6ea0
    • Alex Elder's avatar
      libceph: osd_client: don't drop reply reference too early · 680584fa
      Alex Elder authored
      In ceph_osdc_release_request(), a reference to the r_reply message
      is dropped.  But just after that, that same message is revoked if it
      was in use to receive an incoming reply.  Reorder these so we are
      sure we hold a reference until we're actually done with the message.
      Signed-off-by: default avatarAlex Elder <elder@inktank.com>
      Reviewed-by: default avatarSage Weil <sage@inktank.com>
      (cherry picked from commit ab8cb34a)
      680584fa
    • Yan, Zheng's avatar
      ceph: check PG_Private flag before accessing page->private · 61600ef8
      Yan, Zheng authored
      I got lots of NULL pointer dereference Oops when compiling kernel on ceph.
      The bug is because the kernel page migration routine replaces some pages
      in the page cache with new pages, these new pages' private can be non-zero.
      Signed-off-by: default avatarZheng Yan <zheng.z.yan@intel.com>
      Signed-off-by: default avatarSage Weil <sage@inktank.com>
      (cherry picked from commit 28c0254e)
      61600ef8
    • Linus Torvalds's avatar
      Merge tag 'sound-3.5' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound · f40759e7
      Linus Torvalds authored
      Pull sound fixes from Takashi Iwai:
       "Most of changes are fairly small and driver-specific.
      
        A remaining regression fix for USB-audio sync pipe check, a fix for
        HD-audio power-up sequence, fixes for ASoC pxa-ssp compile issues, and
        bunch of ASoC codec and trivial fix patches."
      
      * tag 'sound-3.5' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound:
        ALSA: 6fire: use NULL instead of 0 for pointer assignment
        ALSA: hda - Handle open while transitioning to D3.
        ALSA: snd-usb: make snd_usb_substream_capture_trigger static
        ALSA: snd-usb: fix sync pipe check
        ASoC: tegra+wm8903: turn of mic detect when card is removed
        ASoC: wm8996: Mark the CODEC as cache only when powering off on boot
        ASoC: wm8996: Move reset before the initial regulator disable
        ASoC: wm8996: Remove spurious regulator_bulk_free()
        ASoC: wm8904: Fix cache only management
        ASoC: wm8904: Fix GPIO and MICBIAS initialisation for regmap conversion
        ASoC: fix pxa-ssp compiling issue under mach-mmp
        ARM: MMP: add pxa910-ssp into ssp_id_table
      f40759e7
  2. 19 Jun, 2012 1 commit
  3. 18 Jun, 2012 13 commits
  4. 17 Jun, 2012 20 commits
  5. 16 Jun, 2012 2 commits
    • Linus Torvalds's avatar
      Merge tag 'fbdev-fixes-for-3.5-1' of git://github.com/schandinat/linux-2.6 · 88c144b1
      Linus Torvalds authored
      Pull fbdev fixes from Florian Tobias Schandinat:
      
       - two fixes for s3c-fb by Jingoo Han (including a fix for a potential
         division by zero)
      
       - a couple of randconfig fixes by Arnd Bergmann
      
       - a cleanup for bfin_adv7393fb by Emil Goode
      
      * tag 'fbdev-fixes-for-3.5-1' of git://github.com/schandinat/linux-2.6:
        video: s3c-fb: fix possible division by zero in s3c_fb_calc_pixclk
        video: s3c-fb: clear SHADOWCON register when clearing hardware window registers
        drivers/tosa: driver needs I2C and SPI to compile
        drivers/savagefb: use mdelay instead of udelay
        video/console: automatically select a font
        video/ili9320: do not mark exported functions __devexit
        drivers/video: use correct __devexit_p annotation
        video: bfin_adv7393fb: Convert to kstrtouint_from_user
      88c144b1
    • Chris Metcalf's avatar
      tile: fix bug in get_user() for 4-byte values · 6699c8cd
      Chris Metcalf authored
      The definition of 32-bit values in the 64-bit tilegx architecture is that
      they should be sign-extended regardless of whether they are considered
      signed or unsigned by the compiler.  Accordingly, we need to use an
      "ld4s" rather than "ld4u" to load and sign-extend for get_user().
      
      This fixes glibc bug 14238 (see http://sourceware.org/bugzilla),
      introduced during the 3.5 merge window.
      Signed-off-by: default avatarChris Metcalf <cmetcalf@tilera.com>
      6699c8cd