1. 24 12月, 2009 4 次提交
    • K
      vfs: get_sb_single() - do not pass options twice · 9329d1be
      Kay Sievers 提交于
      Filesystem code usually destroys the option buffer while
      parsing it. This leads to errors when the same buffer is
      passed twice. In case we fill a new superblock do not call
      remount.
      
      This is needed to quite a warning that the debugfs code
      causes every boot.
      
      Cc: Miklos Szeredi <miklos@szeredi.hu>
      Signed-off-by: NKay Sievers <kay.sievers@vrfy.org>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      9329d1be
    • T
      devtmpfs: Convert dirlock to a mutex · f1f76f86
      Thomas Gleixner 提交于
      devtmpfs has a rw_lock dirlock which serializes delete_path and
      create_path.
      
      This code was obviously never tested with the usual set of debugging
      facilities enabled. In the dirlock held sections the code calls:
      
       - vfs functions which take mutexes
       - kmalloc(, GFP_KERNEL)
      
      In both code pathes the might sleep warning triggers and spams dmesg.
      
      Convert the rw_lock to a mutex. There is no reason why this needs to
      be a rwlock.
      Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
      Cc: Kay Sievers <kay.sievers@vrfy.org>
      Cc: stable <stable@kernel.org>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      f1f76f86
    • L
      Merge branch 'drm-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6 · f42ecb28
      Linus Torvalds 提交于
      * 'drm-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6: (35 commits)
        drm/radeon/kms: add definitions for v4 power tables
        drm/radeon/kms: never combine LVDS with another encoder
        drm/radeon/kms: Check module arguments to be valid V2
        drm/radeon/kms: Avoid crash when trying to cleanup uninitialized structure
        drm/radeon/kms: add cvt mode if we only have lvds w/h and no edid (v4)
        drm/radeon/kms: add 3DC compression support
        drm/radeon/kms: allow rendering while no colorbuffer is set on r300
        drm/radeon/kms: enable memory clock reading on legacy (V2)
        drm/radeon/kms: prevent parallel AtomBIOS calls
        drm/radeon/kms: set proper default tv standard
        drm/radeon/kms: fix legacy rmx
        drm/radeon/kms/atom: fill in proper defines for digital setup
        drm/kms: silencing a false positive warning.
        drm/mm: fix logic for selection of best fit block
        drm/vmwgfx: Use TTM handles instead of SIDs as user-space surface handles.
        drm/vmwgfx: Return -ERESTARTSYS when interrupted by a signal.
        drm/vmwgfx: Fix unlocked ioctl and add proper access control
        drm/radeon: fix build on 64-bit with some compilers.
        drivers/gpu: Use kzalloc for allocating only one thing
        DRM: Rename clamp variable
        ...
      f42ecb28
    • S
      Fix usb_serial_probe() problem introduced by the recent kfifo changes · 119eecc8
      Stefani Seibold 提交于
      The USB serial code was a new user of the kfifo API, and it was missed
      when porting things to the new kfifo API.
      
      Please make the write_fifo in place.  Here is my patch to fix the
      regression and full ported version.
      Signed-off-by: NStefani Seibold <stefani@seibold.net>
      Reported-and-tested-by: NRafael J. Wysocki <rjw@sisk.pl>
      Cc: Greg KH <greg@kroah.com>
      Cc: Andrew Morton <akpm@linux-foundation.org>
      Cc: Alan Stern <stern@rowland.harvard.edu>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      119eecc8
  2. 23 12月, 2009 36 次提交