1. 17 Mar, 2006 5 commits
    • Nathan Scott's avatar
      [XFS] Cleanup references to i_sem. · a13828b1
      Nathan Scott authored
      SGI-PV: 904196
      SGI-Modid: xfs-linux-melb:xfs-kern:25480a
      Signed-off-by: default avatarNathan Scott <nathans@sgi.com>
      a13828b1
    • Nathan Scott's avatar
      [XFS] Fix an infinite loop issue in bulkstat when a corrupt inode is · b12dd342
      Nathan Scott authored
      detected.  Thanks to Roger Willcocks.
      
      SGI-PV: 951054
      SGI-Modid: xfs-linux-melb:xfs-kern:25477a
      Signed-off-by: default avatarNathan Scott <nathans@sgi.com>
      b12dd342
    • Nathan Scott's avatar
      [XFS] Correct the dquot reservation component for the link transation. · 2ddd5928
      Nathan Scott authored
      SGI-PV: 904196
      SGI-Modid: xfs-linux-melb:xfs-kern:25476a
      Signed-off-by: default avatarNathan Scott <nathans@sgi.com>
      2ddd5928
    • Nathan Scott's avatar
      [XFS] Complete transition away from linvfs naming convention, finally. · ec86dc02
      Nathan Scott authored
      SGI-PV: 947038
      SGI-Modid: xfs-linux-melb:xfs-kern:25474a
      Signed-off-by: default avatarNathan Scott <nathans@sgi.com>
      ec86dc02
    • Mandy Kirkconnell's avatar
      [XFS] There are a few problems with the new · 8867bc9b
      Mandy Kirkconnell authored
      xfs_bmap_search_multi_extents() wrapper function that I introduced in mod
      xfs-linux:xfs-kern:207393a. The function was added as a wrapper around
      xfs_bmap_do_search_extents() to avoid breaking the top-of-tree CXFS
      interface.  The idea of the function was basically to extract the target
      extent buffer (if muli- level extent allocation mode), then call
      xfs_bmap_do_search_extents() with either a pointer to the first extent in
      the target buffer or a pointer to the first extent in the file, depending
      on which extent mode was being used.  However, in addition to locating the
      target extent record for block bno, xfs_bmap_do_search_extents() also sets
      four parameters needed by the caller: *lastx, *eofp, *gotp, *prevp. 
      Passing only the target extent buffer to xfs_bmap_do_search_extents()
      causes *eofp to be set incorrectly if the extent is at the end of the
      target list but there are actually more extents in the next er_extbuf.
      Likewise, if the extent is the first one in the buffer but NOT the first
      in the file, *prevp is incorrectly set to NULL.  Adding the needed
      functionality to xfs_bmap_search_multi_extents() to re-set any incorrectly
      set fields is redundant and makes the call to xfs_bmap_do_search_extents()
      not make much sense when multi-level extent allocation mode is being used.
       This mod basically extracts the two functional components from
      xfs_bmap_do_search_extents(), with the intent of obsoleting/removing
      xfs_bmap_do_search_extents() after the CXFS mult-level in-core extent
      changes are checked in.  The two components are:  1) The binary search to
      locate the target extent record, and 2) Setting the four parameters needed
      by the caller (*lastx, *eofp, *gotp, *prevp).  Component 1: I created a
      new function in xfs_inode.c called xfs_iext_bno_to_ext(), which executes
      the binary search to find the target extent record.
      xfs_bmap_search_multi_extents() has been modified to call
      xfs_iext_bno_to_ext() rather than xfs_bmap_do_search_extents().  Component
      2: The parameter setting functionality has been added to
      xfs_bmap_search_multi_extents(), eliminating the need for
      xfs_bmap_do_search_extents().  These changes make the removal of
      xfs_bmap_do_search_extents() trival once the CXFS changes are in place. 
      They also allow us to maintain the current XFS interface, using the new
      search function introduced in mod xfs-linux:xfs-kern:207393a.
      
      SGI-PV: 928864
      SGI-Modid: xfs-linux-melb:xfs-kern:207866a
      Signed-off-by: default avatarMandy Kirkconnell <alkirkco@sgi.com>
      Signed-off-by: default avatarNathan Scott <nathans@sgi.com>
      8867bc9b
  2. 14 Mar, 2006 33 commits
  3. 13 Mar, 2006 2 commits
    • Herbert Xu's avatar
      [TCP]: Fix zero port problem in IPv6 · 3759fa9c
      Herbert Xu authored
      When we link a socket into the hash table, we need to make sure that we
      set the num/port fields so that it shows us with a non-zero port value
      in proc/netlink and on the wire.  This code and comment is copied over
      from the IPv4 stack as is.
      Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
      3759fa9c
    • Andi Kleen's avatar
      [PATCH] x86-64: Fix up handling of non canonical user RIPs · c33d4568
      Andi Kleen authored
      EM64T CPUs have somewhat weird error reporting for non canonical RIPs in
      SYSRET.
      
      We can't handle any exceptions there because the exception handler would
      end up running on the user stack which is unsafe.
      
      To avoid problems any code that might end up with a user touched pt_regs
      should return using int_ret_from_syscall.  int_ret_from_syscall ends up
      using IRET, which allows safe exceptions.
      
      Cc: Ernie Petrides <petrides@redhat.com>
      Signed-off-by: default avatarAndi Kleen <ak@suse.de>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      c33d4568