1. 20 Apr, 2011 2 commits
    • Stefan Weinhuber's avatar
      [S390] dasd: fix race between open and offline · 65f8da47
      Stefan Weinhuber authored
      The dasd_open function uses the private_data pointer of the gendisk to
      find the dasd_block structure that matches the gendisk. When a DASD
      device is set offline, we set the private_data pointer of the gendisk
      to NULL and later remove the dasd_block structure, but there is still
      a small race window, in which dasd_open could first read a pointer
      from the private_data field and then try to use it, after the structure
      has already been freed.
      To close this race window, we will store a pointer to the dasd_devmap
      structure of the base device in the private_data field. The devmap
      entries are not deleted, and we already have proper locking and
      reference counting in place, so that we can safely get from a devmap
      pointer to the dasd_device and dasd_block structures of the device.
      Signed-off-by: default avatarStefan Weinhuber <wein@de.ibm.com>
      Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
      65f8da47
    • Linus Torvalds's avatar
      Merge branch 'drm-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6 · 2f666bcf
      Linus Torvalds authored
      * 'drm-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6:
        drm/radeon/kms: pll tweaks for r7xx
        drm/nouveau: fix allocation of notifier object
        drm/nouveau: fix notifier memory corruption bug
        drm/nouveau: fix pinning of notifier block
        drm/nouveau: populate ttm_alloced with false, when it's not
        drm/nouveau: fix nv30 pcie boards
        drm/nouveau: split ramin_lock into two locks, one hardirq safe
        drm/radeon/kms: adjust evergreen display watermark setup
        drm/radeon/kms: add connectors even if i2c fails
        drm/radeon/kms: fix bad shift in atom iio table parser
      2f666bcf
  2. 19 Apr, 2011 20 commits
  3. 18 Apr, 2011 18 commits