1. 29 Mar, 2011 31 commits
  2. 28 Mar, 2011 9 commits
    • Thomas Gleixner's avatar
      genirq; Fix cleanup fallout · 0ef5ca1e
      Thomas Gleixner authored
      I missed the CONFIG_GENERIC_PENDING_IRQ dependency in the affinity
      related functions and the IRQ_LEVEL propagation into irq_data
      state. Did not pop up on my main test platforms. :(
      Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
      Tested-by: default avatarDavid Daney <ddaney@caviumnetworks.com>
      0ef5ca1e
    • Stephen Smalley's avatar
      selinux: Fix regression for Xorg · 85cd6da5
      Stephen Smalley authored
      Commit 6f5317e7 introduced a bug in the
      handling of userspace object classes that is causing breakage for Xorg
      when XSELinux is enabled.  Fix the bug by changing map_class() to return
      SECCLASS_NULL when the class cannot be mapped to a kernel object class.
      Reported-by: default avatar"Justin P. Mattock" <justinmattock@gmail.com>
      Signed-off-by: default avatarStephen Smalley <sds@tycho.nsa.gov>
      Signed-off-by: default avatarJames Morris <jmorris@namei.org>
      85cd6da5
    • Stephen Rothwell's avatar
      memstick: make enable_dma less generic in r592 · 5ede9ddf
      Stephen Rothwell authored
      Fixes this build error:
      
        drivers/memstick/host/r592.c:26: error: 'enable_dma' redeclared as different kind of symbol
        arch/powerpc/include/asm/dma.h:189: note: previous definition of 'enable_dma' was here
      Signed-off-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
      Cc: Andrew Morton <akpm@linux-foundation.org>
      Cc: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
      Cc: Alex Dubov <oakad@yahoo.com>
      Acked-by: default avatarMaxim Levitsky <maximlevitsky@gmail.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      5ede9ddf
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://oss.sgi.com/xfs/xfs · c5850150
      Linus Torvalds authored
      * 'for-linus' of git://oss.sgi.com/xfs/xfs:
        xfs: stop using the page cache to back the buffer cache
        xfs: register the inode cache shrinker before quotachecks
        xfs: xfs_trans_read_buf() should return an error on failure
        xfs: introduce inode cluster buffer trylocks for xfs_iflush
        vmap: flush vmap aliases when mapping fails
        xfs: preallocation transactions do not need to be synchronous
      
      Fix up trivial conflicts in fs/xfs/linux-2.6/xfs_buf.c due to plug removal.
      c5850150
    • Roland Dreier's avatar
      Relax si_code check in rt_sigqueueinfo and rt_tgsigqueueinfo · 243b422a
      Roland Dreier authored
      Commit da48524e ("Prevent rt_sigqueueinfo and rt_tgsigqueueinfo
      from spoofing the signal code") made the check on si_code too strict.
      There are several legitimate places where glibc wants to queue a
      negative si_code different from SI_QUEUE:
      
       - This was first noticed with glibc's aio implementation, which wants
         to queue a signal with si_code SI_ASYNCIO; the current kernel
         causes glibc's tst-aio4 test to fail because rt_sigqueueinfo()
         fails with EPERM.
      
       - Further examination of the glibc source shows that getaddrinfo_a()
         wants to use SI_ASYNCNL (which the kernel does not even define).
         The timer_create() fallback code wants to queue signals with SI_TIMER.
      
      As suggested by Oleg Nesterov <oleg@redhat.com>, loosen the check to
      forbid only the problematic SI_TKILL case.
      Reported-by: default avatarKlaus Dittrich <kladit@arcor.de>
      Acked-by: default avatarJulien Tinnes <jln@google.com>
      Cc: <stable@kernel.org>
      Signed-off-by: default avatarRoland Dreier <roland@purestorage.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      243b422a
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://www.jni.nu/cris · 5847098c
      Linus Torvalds authored
      * 'for-linus' of git://www.jni.nu/cris:
        Correct auto-restart of syscalls via restartblock
        CRISv10: Fix return before mutex_unlock in pcf8563
        Drop the CRISv32 version of pcf8563
      5847098c
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ecryptfs/ecryptfs-2.6 · 7f5fe3ec
      Linus Torvalds authored
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ecryptfs/ecryptfs-2.6:
        eCryptfs: write lock requested keys
        eCryptfs: move ecryptfs_find_auth_tok_for_sig() call before mutex_lock
        eCryptfs: verify authentication tokens before their use
        eCryptfs: modified size of keysig in the ecryptfs_key_sig structure
        eCryptfs: removed num_global_auth_toks from ecryptfs_mount_crypt_stat
        eCryptfs: ecryptfs_keyring_auth_tok_for_sig() bug fix
        eCryptfs: Unlock page in write_begin error path
        ecryptfs: modify write path to encrypt page in writepage
        eCryptfs: Remove ECRYPTFS_NEW_FILE crypt stat flag
        eCryptfs: Remove unnecessary grow_file() function
      7f5fe3ec
    • Linus Torvalds's avatar
      Merge branch 'for-linus-unmerged' of... · 212a17ab
      Linus Torvalds authored
      Merge branch 'for-linus-unmerged' of git://git.kernel.org/pub/scm/linux/kernel/git/mason/btrfs-unstable
      
      * 'for-linus-unmerged' of git://git.kernel.org/pub/scm/linux/kernel/git/mason/btrfs-unstable: (45 commits)
        Btrfs: fix __btrfs_map_block on 32 bit machines
        btrfs: fix possible deadlock by clearing __GFP_FS flag
        btrfs: check link counter overflow in link(2)
        btrfs: don't mess with i_nlink of unlocked inode in rename()
        Btrfs: check return value of btrfs_alloc_path()
        Btrfs: fix OOPS of empty filesystem after balance
        Btrfs: fix memory leak of empty filesystem after balance
        Btrfs: fix return value of setflags ioctl
        Btrfs: fix uncheck memory allocations
        btrfs: make inode ref log recovery faster
        Btrfs: add btrfs_trim_fs() to handle FITRIM
        Btrfs: adjust btrfs_discard_extent() return errors and trimmed bytes
        Btrfs: make btrfs_map_block() return entire free extent for each device of RAID0/1/10/DUP
        Btrfs: make update_reserved_bytes() public
        btrfs: return EXDEV when linking from different subvolumes
        Btrfs: Per file/directory controls for COW and compression
        Btrfs: add datacow flag in inode flag
        btrfs: use GFP_NOFS instead of GFP_KERNEL
        Btrfs: check return value of read_tree_block()
        btrfs: properly access unaligned checksum buffer
        ...
      
      Fix up trivial conflicts in fs/btrfs/volumes.c due to plug removal in
      the block layer.
      212a17ab
    • Linus Torvalds's avatar
      Merge branch 'for_linus' of... · baaca1a6
      Linus Torvalds authored
      Merge branch 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mjg59/platform-drivers-x86
      
      * 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mjg59/platform-drivers-x86: (81 commits)
        xo15-ebook: Remove device.wakeup_count
        ips: use interruptible waits in ips-monitor
        acer-wmi: does not poll device status when WMI event is available
        acer-wmi: does not set persistence state by rfkill_init_sw_state
        platform-drivers: x86: fix common misspellings
        acer-wmi: use pr_<level> for messages
        asus-wmi: potential NULL dereference in show_call()
        asus-wmi: signedness bug in read_brightness()
        platform-driver-x86: samsung-laptop: make dmi_check_cb to return 1 instead of 0
        platform-driver-x86: fix wrong merge for compal-laptop.c
        msi-laptop: use pr_<level> for messages
        Platform: add Samsung Laptop platform driver
        acer-wmi: Fix WMI ID
        acer-wmi: deactive mail led when power off
        msi-laptop: send out touchpad on/off key
        acer-wmi: set the touchpad toggle key code to KEY_TOUCHPAD_TOGGLE
        platform-driver-x86: intel_mid_thermal: fix unterminated platform_device_id table
        sony-laptop: potential null dereference
        sony-laptop: handle allocation failures
        sony-laptop: return negative on failure in sony_nc_add()
        ...
      baaca1a6