1. 22 Feb, 2013 29 commits
  2. 21 Feb, 2013 10 commits
    • Linus Torvalds's avatar
      Merge tag 'please-pull-pstore' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux · 024e4ec1
      Linus Torvalds authored
      Pull pstore patches from Tony Luck:
       "A few fixes to reduce places where pstore might hang a system in the
        crash path.  Plus a new mountpoint (/sys/fs/pstore ...  makes more
        sense then /dev/pstore)."
      
      Fix up trivial conflict in drivers/firmware/efivars.c
      
      * tag 'please-pull-pstore' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux:
        pstore: Create a convenient mount point for pstore
        efi_pstore: Introducing workqueue updating sysfs
        efivars: Disable external interrupt while holding efivars->lock
        efi_pstore: Avoid deadlock in non-blocking paths
        pstore: Avoid deadlock in panic and emergency-restart path
      024e4ec1
    • Linus Torvalds's avatar
      Merge tag 'dlm-3.9' of git://git.kernel.org/pub/scm/linux/kernel/git/teigland/linux-dlm · 850cb82b
      Linus Torvalds authored
      Pull dlm update from David Teigland:
       "This includes a single patch to avoid excessive and unnecessary
        scanning of rsbs to free."
      
      * tag 'dlm-3.9' of git://git.kernel.org/pub/scm/linux/kernel/git/teigland/linux-dlm:
        dlm: avoid scanning unchanged toss lists
      850cb82b
    • Linus Torvalds's avatar
      Merge tag 'nfs-for-3.9-1' of git://git.linux-nfs.org/projects/trondmy/linux-nfs · 2171ee8f
      Linus Torvalds authored
      Pull NFS client bugfixes from Trond Myklebust:
      
       - Fix an Oops in the pNFS layoutget code
      
       - Fix a number of NFSv4 and v4.1 state recovery deadlocks and hangs due
         to the interaction of the session drain lock and state management
         locks.
      
       - Remove task->tk_xprt, which was hiding a lot of RCU dereferencing
         bugs
      
       - Fix a long standing NFSv3 posix lock recovery bug.
      
       - Revert commit 324d003b ("NFS: add nfs_sb_deactive_async to avoid
         deadlock").  It turned out that the root cause of the deadlock was
         due to interactions with the workqueues that have now been resolved.
      
      * tag 'nfs-for-3.9-1' of git://git.linux-nfs.org/projects/trondmy/linux-nfs: (22 commits)
        NLM: Ensure that we resend all pending blocking locks after a reclaim
        umount oops when remove blocklayoutdriver first
        sunrpc: silence build warning in gss_fill_context
        nfs: remove kfree() redundant null checks
        NFSv4.1: Don't decode skipped layoutgets
        NFSv4.1: Fix bulk recall and destroy of layouts
        NFSv4.1: Fix an ABBA locking issue with session and state serialisation
        NFSv4: Fix a reboot recovery race when opening a file
        NFSv4: Ensure delegation recall and byte range lock removal don't conflict
        NFSv4: Fix up the return values of nfs4_open_delegation_recall
        NFSv4.1: Don't lose locks when a server reboots during delegation return
        NFSv4.1: Prevent deadlocks between state recovery and file locking
        NFSv4: Allow the state manager to mark an open_owner as being recovered
        SUNRPC: Add missing static declaration to _gss_mech_get_by_name
        Revert "NFS: add nfs_sb_deactive_async to avoid deadlock"
        SUNRPC: Nuke the tk_xprt macro
        SUNRPC: Avoid RCU dereferences in the transport bind and connect code
        SUNRPC: Fix an RCU dereference in xprt_reserve
        SUNRPC: Pass pointers to struct rpc_xprt to the congestion window
        SUNRPC: Fix an RCU dereference in xs_local_rpcbind
        ...
      2171ee8f
    • Linus Torvalds's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/steve/gfs2-3.0-nmw · 9b9a72a8
      Linus Torvalds authored
      Pull GFS2 updates from Steven Whitehouse:
       "This is one of the smallest collections of patches for the merge
        window for some time.  There are some clean ups relating to the
        transaction code and the shrinker, which are mostly in preparation for
        further development, but also make the code much easier to follow in
        these areas.
      
        There is a patch which allows the use of ->writepages even in the
        default ordered write mode for all writebacks.  This results in
        sending larger i/os to the block layer, and a subsequent increase in
        performance.  It also reduces the number of different i/o paths by
        one.
      
        There is also a bug fix reinstating the withdraw ack system which
        somehow got lost when the lock modules were merged into GFS2."
      
      * git://git.kernel.org/pub/scm/linux/kernel/git/steve/gfs2-3.0-nmw:
        GFS2: Reinstate withdraw ack system
        GFS2: Get a block reservation before resizing a file
        GFS2: Split glock lru processing into two parts
        GFS2: Use ->writepages for ordered writes
        GFS2: Clean up freeze code
        GFS2: Merge gfs2_attach_bufdata() into trans.c
        GFS2: Copy gfs2_trans_add_bh into new data/meta functions
        GFS2: Split gfs2_trans_add_bh() into two
        GFS2: Merge revoke adding functions
        GFS2: Separate LRU scanning from shrinker
      9b9a72a8
    • Linus Torvalds's avatar
      Merge tag 'for-linus-v3.9-rc1' of git://oss.sgi.com/xfs/xfs · 736a4c11
      Linus Torvalds authored
      Pull xfs update from Ben Myers:
       "Primarily bugfixes and a few cleanups:
      
         - fix(es) for compound buffers
      
         - remove unused XFS_TRANS_DEBUG routines
      
         - fix for dquot soft timer asserts due to overflow of d_blk_softlimit
      
         - don't zero allocation args structure members after they are memset(0)
      
         - fix for regression in dir v2 code introduced in commit 20f7e9f3
      
         - remove obsolete simple_strto<foo>
      
         - fix return value when filesystem probe finds no XFS magic, a
           regression introduced in 98021821.
      
         - remove boolean_t typedef completely
      
         - fix stack switch in __xfs_bmapi_allocate by moving the check for
           stack switch up into xfs_bmapi_write.
      
         - fix build error due to incomplete boolean_t removal
      
         - fix oops in _xfs_buf_find by validating that the requested block is
           within the filesystem bounds.
      
         - limit speculative preallocation near ENOSPC.
      
         - fix an unmount hang in xfs_wait_buftarg by freeing the
           xfs_buf_log_item in xfs_buf_item_unlock.
      
         - fix a possible use after free with AIO.
      
         - fix xfs_swap_extents after removal of xfs_flushinval_pages, a
           regression introduced in fb595814.
      
         - replace hardcoded 128 with log header size
      
         - add memory barrier before wake_up_bit in xfs_ifunlock
      
         - limit speculative preallocation on sparse files
      
         - fix xa_lock recursion bug introduced in 90810b9e
      
         - fix write verifier for symlinks"
      
      Fixed up conflicts in fs/xfs/xfs_buf_item.c (due to bli_format rename in
      commit 0f22f9d0 affecting the removed XFS_TRANS_DEBUG routines in
      commit ec47eb6b).
      
      * tag 'for-linus-v3.9-rc1' of git://oss.sgi.com/xfs/xfs: (36 commits)
        xfs: xfs_bmap_add_attrfork_local is too generic
        xfs: remove log force from xfs_buf_trylock()
        xfs: recheck buffer pinned status after push trylock failure
        xfs: limit speculative prealloc size on sparse files
        xfs: memory barrier before wake_up_bit()
        xfs: refactor space log reservation for XFS_TRANS_ATTR_SET
        xfs: make use of XFS_SB_LOG_RES() at xfs_fs_log_dummy()
        xfs: make use of XFS_SB_LOG_RES() at xfs_mount_log_sb()
        xfs: make use of XFS_SB_LOG_RES() at xfs_log_sbcount()
        xfs: introduce XFS_SB_LOG_RES() for transactions that modify sb on disk
        xfs: calculate XFS_TRANS_QM_QUOTAOFF_END space log reservation at mount time
        xfs: calculate XFS_TRANS_QM_QUOTAOFF space log reservation at mount time
        xfs: calculate XFS_TRANS_QM_DQALLOC space log reservation at mount time
        xfs: calcuate XFS_TRANS_QM_SETQLIM space log reservation at mount time
        xfs: calculate xfs_qm_write_sb_changes() space log reservation at mount time
        xfs: calculate XFS_TRANS_QM_SBCHANGE space log reservation at mount time
        xfs: make use of xfs_calc_buf_res() in xfs_trans.c
        xfs: add a helper to figure out the space log reservation per item
        xfs: Fix xfs_swap_extents() after removal of xfs_flushinval_pages()
        xfs: Fix possible use-after-free with AIO
        ...
      736a4c11
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/fuse · c4bc705e
      Linus Torvalds authored
      Pull fuse updates from Miklos Szeredi:
       "The biggest part of this pull request is a patch series from Maxim
        Patlasov to optimize scatter-gather direct IO.  There's also the
        addition of a "readdirplus" API, poll events and various fixes and
        cleanups.
      
        There's a one line change outside of fuse to mm/filemap.c which makes
        the argument of iov_iter_single_seg_count() const, required by Maxim's
        patches."
      
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/fuse: (22 commits)
        fuse: allow control of adaptive readdirplus use
        Synchronize fuse header with one used in library
        fuse: send poll events
        fuse: don't WARN when nlink is zero
        fuse: avoid out-of-scope stack access
        fuse: bump version for READDIRPLUS
        FUSE: Adapt readdirplus to application usage patterns
        Do not use RCU for current process credentials
        fuse: cleanup fuse_direct_io()
        fuse: optimize __fuse_direct_io()
        fuse: optimize fuse_get_user_pages()
        fuse: pass iov[] to fuse_get_user_pages()
        mm: minor cleanup of iov_iter_single_seg_count()
        fuse: use req->page_descs[] for argpages cases
        fuse: add per-page descriptor <offset, length> to fuse_req
        fuse: rework fuse_do_ioctl()
        fuse: rework fuse_perform_write()
        fuse: rework fuse_readpages()
        fuse: rework fuse_retrieve()
        fuse: categorize fuse_get_req()
        ...
      c4bc705e
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ericvh/v9fs · 2608e3d0
      Linus Torvalds authored
      Pull v9fs updates from Eric Van Hensbergen:
       "Just fixes and simplifications"
      
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ericvh/v9fs:
        fs/9p: Fix atomic_open
        fs/9p: Don't use O_TRUNC flag in TOPEN and TLOPEN request
        locking in fs/9p ->readdir()
      2608e3d0
    • Linus Torvalds's avatar
      Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security · 33673dcb
      Linus Torvalds authored
      Pull security subsystem updates from James Morris:
       "This is basically a maintenance update for the TPM driver and EVM/IMA"
      
      Fix up conflicts in lib/digsig.c and security/integrity/ima/ima_main.c
      
      * 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security: (45 commits)
        tpm/ibmvtpm: build only when IBM pseries is configured
        ima: digital signature verification using asymmetric keys
        ima: rename hash calculation functions
        ima: use new crypto_shash API instead of old crypto_hash
        ima: add policy support for file system uuid
        evm: add file system uuid to EVM hmac
        tpm_tis: check pnp_acpi_device return code
        char/tpm/tpm_i2c_stm_st33: drop temporary variable for return value
        char/tpm/tpm_i2c_stm_st33: remove dead assignment in tpm_st33_i2c_probe
        char/tpm/tpm_i2c_stm_st33: Remove __devexit attribute
        char/tpm/tpm_i2c_stm_st33: Don't use memcpy for one byte assignment
        tpm_i2c_stm_st33: removed unused variables/code
        TPM: Wait for TPM_ACCESS tpmRegValidSts to go high at startup
        tpm: Fix cancellation of TPM commands (interrupt mode)
        tpm: Fix cancellation of TPM commands (polling mode)
        tpm: Store TPM vendor ID
        TPM: Work around buggy TPMs that block during continue self test
        tpm_i2c_stm_st33: fix oops when i2c client is unavailable
        char/tpm: Use struct dev_pm_ops for power management
        TPM: STMicroelectronics ST33 I2C BUILD STUFF
        ...
      33673dcb
    • David Howells's avatar
      KEYS: Revert one application of "Fix unreachable code" patch · fe9453a1
      David Howells authored
      A patch to fix some unreachable code in search_my_process_keyrings() got
      applied twice by two different routes upstream as commits e67eab39
      and b010520a (both "fix unreachable code").
      
      Unfortunately, the second application removed something it shouldn't
      have and this wasn't detected by GIT.  This is due to the patch not
      having sufficient lines of context to distinguish the two places of
      application.
      
      The effect of this is relatively minor: inside the kernel, the keyring
      search routines may search multiple keyrings and then prioritise the
      errors if no keys or negative keys are found in any of them.  With the
      extra deletion, the presence of a negative key in the thread keyring
      (causing ENOKEY) is incorrectly overridden by an error searching the
      process keyring.
      
      So revert the second application of the patch.
      Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
      Cc: Jiri Kosina <jkosina@suse.cz>
      Cc: Andrew Morton <akpm@linux-foundation.org>
      Cc: stable@vger.kernel.org
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      fe9453a1
    • Linus Torvalds's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next · a0b1c429
      Linus Torvalds authored
      Pull networking update from David Miller:
      
       1) Checkpoint/restarted TCP sockets now can properly propagate the TCP
          timestamp offset.  From Andrey Vagin.
      
       2) VMWARE VM VSOCK layer, from Andy King.
      
       3) Much improved support for virtual functions and SR-IOV in bnx2x,
          from Ariel ELior.
      
       4) All protocols on ipv4 and ipv6 are now network namespace aware, and
          all the compatability checks for initial-namespace-only protocols is
          removed.  Thanks to Tom Parkin for helping deal with the last major
          holdout, L2TP.
      
       5) IPV6 support in netpoll and network namespace support in pktgen,
          from Cong Wang.
      
       6) Multiple Registration Protocol (MRP) and Multiple VLAN Registration
          Protocol (MVRP) support, from David Ward.
      
       7) Compute packet lengths more accurately in the packet scheduler, from
          Eric Dumazet.
      
       8) Use per-task page fragment allocator in skb_append_datato_frags(),
          also from Eric Dumazet.
      
       9) Add support for connection tracking labels in netfilter, from
          Florian Westphal.
      
      10) Fix default multicast group joining on ipv6, and add anti-spoofing
          checks to 6to4 and 6rd.  From Hannes Frederic Sowa.
      
      11) Make ipv4/ipv6 fragmentation memory limits more reasonable in modern
          times, rearrange inet frag datastructures for better cacheline
          locality, and move more operations outside of locking.  From Jesper
          Dangaard Brouer.
      
      12) Instead of strict master <--> slave relationships, allow arbitrary
          scenerios with "upper device lists".  From Jiri Pirko.
      
      13) Improve rate limiting accuracy in TBF and act_police, also from Jiri
          Pirko.
      
      14) Add a BPF filter netfilter match target, from Willem de Bruijn.
      
      15) Orphan and delete a bunch of pre-historic networking drivers from
          Paul Gortmaker.
      
      16) Add TSO support for GRE tunnels, from Pravin B SHelar.  Although
          this still needs some minor bug fixing before it's %100 correct in
          all cases.
      
      17) Handle unresolved IPSEC states like ARP, with a resolution packet
          queue.  From Steffen Klassert.
      
      18) Remove TCP Appropriate Byte Count support (ABC), from Stephen
          Hemminger.  This was long overdue.
      
      19) Support SO_REUSEPORT, from Tom Herbert.
      
      20) Allow locking a socket BPF filter, so that it cannot change after a
          process drops capabilities.
      
      21) Add VLAN filtering to bridge, from Vlad Yasevich.
      
      22) Bring ipv6 on-par with ipv4 and do not cache neighbour entries in
          the ipv6 routes, from YOSHIFUJI Hideaki.
      
      * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next: (1538 commits)
        ipv6: fix race condition regarding dst->expires and dst->from.
        net: fix a wrong assignment in skb_split()
        ip_gre: remove an extra dst_release()
        ppp: set qdisc_tx_busylock to avoid LOCKDEP splat
        atl1c: restore buffer state
        net: fix a build failure when !CONFIG_PROC_FS
        net: ipv4: fix waring -Wunused-variable
        net: proc: fix build failed when procfs is not configured
        Revert "xen: netback: remove redundant xenvif_put"
        net: move procfs code to net/core/net-procfs.c
        qmi_wwan, cdc-ether: add ADU960S
        bonding: set sysfs device_type to 'bond'
        bonding: fix bond_release_all inconsistencies
        b44: use netdev_alloc_skb_ip_align()
        xen: netback: remove redundant xenvif_put
        net: fec: Do a sanity check on the gpio number
        ip_gre: propogate target device GSO capability to the tunnel device
        ip_gre: allow CSUM capable devices to handle packets
        bonding: Fix initialize after use for 3ad machine state spinlock
        bonding: Fix race condition between bond_enslave() and bond_3ad_update_lacp_rate()
        ...
      a0b1c429
  3. 20 Feb, 2013 1 commit