On Wed, Mar 03, 2010 at 04:47:28PM +0900, Akira Fujita wrote: > > In 1KB block size, the overflow occurs at above line. > Since last_blk is set 0xffffffff when len is equal to s_maxbytes. > Therefore ext4_fiemap() can not get correct extent information > with 0 length. How about adding this change? What do you think _is_ the correct thing to do when length is 0? As Leonard has already pointed out, fiemap_check_ranges() already filters out the length=0 case. - Ted -- To unsubscribe from this list: send the line "unsubscribe linux-ext4" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html