Prevent data corruption in logfs_rewrite_block()
authorJoern Engel <joern@logfs.org>
Sat, 27 Mar 2010 08:56:58 +0000 (09:56 +0100)
committerJoern Engel <joern@logfs.org>
Sun, 28 Mar 2010 10:40:42 +0000 (12:40 +0200)
commit193219172691e29813821dc8433317768c6ed1a3
tree9df87e5fa573deddd1d7b89da3005567308a2ab3
parent6f2e9e6a950a165a7d2c399ab7557e6745ef2bfd
Prevent data corruption in logfs_rewrite_block()

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: Joern Engel <joern@logfs.org>
fs/logfs/readwrite.c