Skip to content
  1. Mar 30, 2010
  2. Mar 29, 2010
  3. Mar 28, 2010
    • Joern Engel's avatar
      Simplify and fix pad_wbuf · 81def6b9
      Joern Engel authored
      
      
      A comment in the old code read:
              /* The math in this function can surely use some love */
      
      And indeed it did.  In the case that area->a_used_bytes is exactly
      4096 bytes below segment size it fell apart.  pad_wbuf is now split
      into two helpers that are significantly less complicated.
      
      Signed-off-by: default avatarJoern Engel <joern@logfs.org>
      81def6b9
    • Joern Engel's avatar
      Prevent data corruption in logfs_rewrite_block() · 19321917
      Joern Engel authored
      
      
      The comment was correct, so make the code match the comment.  As the
      new comment indicates, we might be able to do a little less work.  But
      for the current -rc series let's keep it simple and just fix the bug.
      
      Signed-off-by: default avatarJoern Engel <joern@logfs.org>
      19321917
  4. Mar 27, 2010
  5. Mar 26, 2010
  6. Mar 25, 2010