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);
On Thu, 13 Sep 2007 22:48:38 +0800 "Yan Zheng" <yanzheng@21cn.com> wrote:> Hello, > > the bug is so tiny, it's difficult for me to describe it. :) >;) Something like: yet another off by one error in the extent mapping code. Good catch, thanks. -chris