1. 22 3月, 2012 2 次提交
    • J
      btrfs: Catch locking failures in {set,clear,convert}_extent_bit · c2d904e0
      Jeff Mahoney 提交于
      The *_state functions can only return 0 or -EEXIST. This patch addresses
      the cases where those functions returning -EEXIST represent a locking
      failure. It handles them by panicking with an appropriate error message.
      Signed-off-by: NJeff Mahoney <jeffm@suse.com>
      c2d904e0
    • J
      btrfs: Add btrfs_panic() · 8c342930
      Jeff Mahoney 提交于
      As part of the effort to eliminate BUG_ON as an error handling
      technique, we need to determine which errors are actual logic errors,
      which are on-disk corruption, and which are normal runtime errors
      e.g. -ENOMEM.
      
      Annotating these error cases is helpful to understand and report them.
      
      This patch adds a btrfs_panic() routine that will either panic
      or BUG depending on the new -ofatal_errors={panic,bug} mount option.
      Since there are still so many BUG_ONs, it defaults to BUG for now but I
      expect that to change once the error handling effort has made
      significant progress.
      Signed-off-by: NJeff Mahoney <jeffm@suse.com>
      8c342930
  2. 19 3月, 2012 2 次提交
  3. 18 3月, 2012 2 次提交
    • L
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net · c579bc7e
      Linus Torvalds 提交于
      Pull networking changes from David Miller:
       "1) icmp6_dst_alloc() returns NULL instead of ERR_PTR() leading to
           crashes, particularly during shutdown.  Reported by Dave Jones and
           fixed by Eric Dumazet.
      
        2) hyperv and wimax/i2400m return NETDEV_TX_BUSY when they have
           already freed the SKB, which causes crashes as to the caller this
           means requeue the packet.  Fixes from Eric Dumazet.
      
        3) usbnet driver doesn't allocate the right amount of headroom on
           fresh RX SKBs, fix from Eric Dumazet.
      
        4) Fix regression in ip6_mc_find_dev_rcu(), as an RCU lookup it
           abolutely should not take a reference to 'dev', this leads to
           leaks.  Fix from RonQing Li.
      
        5) Fix netfilter ctnetlink race between delete and timeout expiration.
           From Pablo Neira Ayuso.
      
        6) Revert SFQ change which causes regressions, specifically queueing
           to tail can lead to unavoidable flow starvation.  From Eric
           Dumazet.
      
        7) Fix a memory leak and a crash on corrupt firmware files in bnx2x,
           from Michal Schmidt."
      
      * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net:
        netfilter: ctnetlink: fix race between delete and timeout expiration
        ipv6: Don't dev_hold(dev) in ip6_mc_find_dev_rcu.
        wimax/i2400m: fix erroneous NETDEV_TX_BUSY use
        net/hyperv: fix erroneous NETDEV_TX_BUSY use
        net/usbnet: reserve headroom on rx skbs
        bnx2x: fix memory leak in bnx2x_init_firmware()
        bnx2x: fix a crash on corrupt firmware file
        sch_sfq: revert dont put new flow at the end of flows
        ipv6: fix icmp6_dst_alloc()
      c579bc7e
    • L
      Merge branch 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 96ee0499
      Linus Torvalds 提交于
      Pull perf fixes from Ingo Molnar.
      
      * 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        perf tools, x86: Build perf on older user-space as well
        perf tools: Use scnprintf where applicable
        perf tools: Incorrect use of snprintf results in SEGV
      96ee0499
  4. 17 3月, 2012 9 次提交
  5. 16 3月, 2012 25 次提交