1. 13 4月, 2011 7 次提交
    • L
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/sfrench/cifs-2.6 · 6faf9a54
      Linus Torvalds 提交于
      * git://git.kernel.org/pub/scm/linux/kernel/git/sfrench/cifs-2.6:
        cifs: don't allow mmap'ed pages to be dirtied while under writeback (try #3)
        [CIFS] Warn on requesting default security (ntlm) on mount
        [CIFS] cifs: clarify the meaning of tcpStatus == CifsGood
        cifs: wrap received signature check in srv_mutex
        cifs: clean up various nits in unicode routines (try #2)
        cifs: clean up length checks in check2ndT2
        cifs: set ra_pages in backing_dev_info
        cifs: fix broken BCC check in is_valid_oplock_break
        cifs: always do is_path_accessible check in cifs_mount
        various endian fixes to cifs
        Elminate sparse __CHECK_ENDIAN__ warnings on port conversion
        Max share size is too small
        Allow user names longer than 32 bytes
        cifs: replace /proc/fs/cifs/Experimental with a module parm
        cifs: check for private_data before trying to put it
      6faf9a54
    • L
      Merge branch 'for_linus' of... · d77d9597
      Linus Torvalds 提交于
      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:
        thinkpad-acpi fails to load with newer Thinkpad X201s BIOS
        acer-wmi: Fix capitalisation of GUID in module alias
        sony-laptop: keyboard backlight fixes
        sony-laptop: only show the handles sysfs file in debug mode
        samsung-laptop: set backlight type
        staging: samsung-laptop has moved to platform/x86
        samsung-laptop: Samsung R410P backlight driver
        samsung-laptop: add support for N230 model
        platform-drivers: x86: pmic: Restore the dropped buslock/unlock
        sony-laptop: fix early NULL pointer dereference
        msi-laptop: fix config-dependent build error
        eeepc-wmi: add keys found on EeePC 1215T
        asus-wmi: swap input name and phys
        asus-laptop: remove removed features from feature-removal-schedule.txt
      d77d9597
    • L
      vfs: Re-introduce s_uuid in the superblock · 0bba0169
      Linus Torvalds 提交于
      Gaah.  When commit be85bcca reverted the export of file system uuid
      via /proc/<pid>/mountinfo, it also unintentionally removed the s_uuid
      field in struct super_block.
      
      I didn't mean to do that, since filesystems have been taught to fill it
      in (and we want to keep it for future re-introduction in the mountinfo
      file).
      
      Stupid of me. This adds it back in.
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      0bba0169
    • L
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/sameo/mfd-2.6 · e328f05d
      Linus Torvalds 提交于
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/sameo/mfd-2.6:
        mfd: Fetch cell pointer from platform_device->mfd_cell
      e328f05d
    • D
      nfs: don't call __mark_inode_dirty while holding i_lock · 0d88f6e8
      Dave Chinner 提交于
      nfs_scan_commit() is called with the inode->i_lock held, but it then
      calls __mark_inode_dirty() while still holding the lock. This causes
      a deadlock.
      
      Push the inode->i_lock into nfs_scan_commit() so it can protect only
      the parts of the code it needs to and can be dropped before the call
      to __mark_inode_dirty() to avoid the deadlock.
      Signed-off-by: NDave Chinner <dchinner@redhat.com>
      Tested-by: NWill Simoneau <simoneau@ele.uri.edu>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      0d88f6e8
    • L
      vm: fix mlock() on stack guard page · 95042f9e
      Linus Torvalds 提交于
      Commit 53a7706d ("mlock: do not hold mmap_sem for extended periods
      of time") changed mlock() to care about the exact number of pages that
      __get_user_pages() had brought it.  Before, it would only care about
      errors.
      
      And that doesn't work, because we also handled one page specially in
      __mlock_vma_pages_range(), namely the stack guard page.  So when that
      case was handled, the number of pages that the function returned was off
      by one.  In particular, it could be zero, and then the caller would end
      up not making any progress at all.
      
      Rather than try to fix up that off-by-one error for the mlock case
      specially, this just moves the logic to handle the stack guard page
      into__get_user_pages() itself, thus making all the counts come out
      right automatically.
      Reported-by: NRobert Święcki <robert@swiecki.net>
      Cc: Hugh Dickins <hughd@google.com>
      Cc: Oleg Nesterov <oleg@redhat.com>
      Cc: stable@kernel.org
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      95042f9e
    • L
      Revert "vfs: Export file system uuid via /proc/<pid>/mountinfo" · be85bcca
      Linus Torvalds 提交于
      This reverts commit 93f1c20b.
      
      It turns out that libmount misparses it because it adds a '-' character
      in the uuid string, which libmount then incorrectly confuses with the
      separator string (" - ") at the end of all the optional arguments.
      
      Upstream libmount (in the util-linux tree) has been fixed, but until
      that fix actually percolates up to users, we'd better not expose this
      change in the kernel.
      
      Let's revisit this later (possibly by exposing the UUID without any '-'
      characters in it, avoiding the user-space bug).
      Reported-by: NDave Jones <davej@redhat.com>
      Cc: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
      Cc: Al Viro <viro@zeniv.linux.org.uk>
      Cc: Karel Zak <kzak@redhat.com>
      Cc: Ram Pai <linuxram@us.ibm.com>
      Cc: Miklos Szeredi <mszeredi@suse.cz>
      Cc: Eric Sandeen <sandeen@redhat.com>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      be85bcca
  2. 12 4月, 2011 32 次提交
  3. 11 4月, 2011 1 次提交
    • L
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6 · c44eaf41
      Linus Torvalds 提交于
      * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6: (34 commits)
        net: Add support for SMSC LAN9530, LAN9730 and LAN89530
        mlx4_en: Restoring RX buffer pointer in case of failure
        mlx4: Sensing link type at device initialization
        ipv4: Fix "Set rt->rt_iif more sanely on output routes."
        MAINTAINERS: add entry for Xen network backend
        be2net: Fix suspend/resume operation
        be2net: Rename some struct members for clarity
        pppoe: drop PPPOX_ZOMBIEs in pppoe_flush_dev
        dsa/mv88e6131: add support for mv88e6085 switch
        ipv6: Enable RFS sk_rxhash tracking for ipv6 sockets (v2)
        be2net: Fix a potential crash during shutdown.
        bna: Fix for handling firmware heartbeat failure
        can: mcp251x: Allow pass IRQ flags through platform data.
        smsc911x: fix mac_lock acquision before calling smsc911x_mac_read
        iwlwifi: accept EEPROM version 0x423 for iwl6000
        rt2x00: fix cancelling uninitialized work
        rtlwifi: Fix some warnings/bugs
        p54usb: IDs for two new devices
        wl12xx: fix potential buffer overflow in testmode nvs push
        zd1211rw: reset rx idle timer from tasklet
        ...
      c44eaf41