So I think what I need to do is to have scan_extent_node update two variables; pb->last_block, and pb->last_block_used, where pb->last_block_used doesn't get updated if the extent is not initialized. However, what we'll have to do is that if the two are different, i_size must be at least pb->last_block_used*blocksize, but less than or equal to pb->last_block*blocksize + (blocksize-1). - 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