1. 30 3月, 2006 5 次提交
    • R
      IB/mthca: Fix section mismatch problems · e1f7868c
      Roland Dreier 提交于
      Quite a few cleanup functions in mthca were marked as __devexit.
      However, they could also be called from error paths during
      initialization, so they cannot be marked that way.  Just delete all of
      the incorrect annotations.
      Signed-off-by: NRoland Dreier <rolandd@cisco.com>
      e1f7868c
    • R
      IPoIB: Fix oops with raw sockets · ef12d456
      Roland Dreier 提交于
      ipoib_hard_header() needs to handle the case that daddr is NULL.  This
      can happen when packets are injected via a raw socket, and IPoIB
      shouldn't oops in this case.
      
      Reported by Anton Blanchard <anton@samba.org>
      Signed-off-by: NRoland Dreier <rolandd@cisco.com>
      ef12d456
    • J
      IB/mthca: Fix check of size in SRQ creation · a07bacca
      Jack Morgenstein 提交于
      The previous patch for Tavor broke MemFree logic.
      
      The driver should perform limit check only for Tavor.  For MemFree,
      the check is incorrect, since ds (WQE stride) is always a power-of-2
      (although the max_desc_size may not be).
      
      In Tavor, however, WQE stride and desc_size are the same, and are not
      necessarily power-of-2.  The check was really for the WQE stride (and
      it Tavor, we use max_desc_size for the stride).
      Signed-off-by: NJack Morgenstein <jackm@mellanox.co.il>
      Signed-off-by: NRoland Dreier <rolandd@cisco.com>
      a07bacca
    • R
      IB/srp: Fix unmapping of fake scatterlist · 3f89f834
      Roland Dreier 提交于
      The recently merged patch to create a fake scatterlist for non-SG SCSI
      commands had a bug: the driver ended up doing dma_unmap_sg() on a
      scatterlist scmnd->request_buffer rather than the fake scatter list it
      created.  Fix this so that the driver unmaps the same thing it maps.
      Signed-off-by: NRoland Dreier <rolandd@cisco.com>
      3f89f834
    • L
      Merge git://oss.sgi.com:8090/oss/git/xfs-2.6 · e71ac603
      Linus Torvalds 提交于
      * git://oss.sgi.com:8090/oss/git/xfs-2.6:
        [XFS] Cleanup in XFS after recent get_block_t interface tweaks.
        [XFS] Remove unused/obsoleted function: xfs_bmap_do_search_extents()
        [XFS] A change to inode chunk allocation to try allocating the new chunk
        Fixes a regression from the recent "remove ->get_blocks() support"
        [XFS] Fix compiler warning and small code inconsistencies in compat
        [XFS] We really suck at spulling.  Thanks to Chris Pascoe for fixing all
      e71ac603
  2. 29 3月, 2006 35 次提交