Hello,

the bug is so tiny,  it's difficult for me to describe it. :)

Regards
YZ

diff -r 0d4a5b197024 file.c
--- a/file.c    Tue Sep 11 19:45:31 2007 -0400
+++ b/file.c    Thu Sep 13 22:23:22 2007 +0800
@@ -236,7 +236,7 @@ static int dirty_and_release_pages(struc
                                           end_pos - start_pos, p, 0);
                BUG_ON(err);
                em->start = start_pos;
-               em->end = end_pos;
+               em->end = end_pos - 1;
                em->block_start = EXTENT_MAP_INLINE;
                em->block_end = EXTENT_MAP_INLINE;
                add_extent_mapping(em_tree, em);

_______________________________________________
Btrfs-devel mailing list
[email protected]
http://oss.oracle.com/mailman/listinfo/btrfs-devel

Reply via email to