1. 28 Mar, 2010 2 commits
    • 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
  2. 27 Mar, 2010 7 commits
  3. 26 Mar, 2010 13 commits
  4. 25 Mar, 2010 18 commits