Yan 689f934661 Fix inline extent handling in btrfs_get_extent
1.  Reorder kmap and the test for  'page != NULL'
2.  Zero-fill rest area of a block when inline extent isn't big enough.
3.  Do not insert extent_map into the map tree when page == NULL.
(If insert the extent_map into the map tree,  subsequent read requests
will find it in the map tree directly and the corresponding inline
extent data aren't copied into page by the the get_extent function.
extent_read_full_page can't handle that case)

Signed-off-by: Chris Mason <chris.mason@oracle.com>
2008-09-25 11:03:57 -04:00
..
2007-07-11 10:00:37 -04:00
2007-06-12 09:07:21 -04:00
2007-06-12 09:07:21 -04:00
2008-09-25 11:03:57 -04:00
2008-09-25 11:03:57 -04:00
2007-06-12 09:07:21 -04:00
2007-06-12 09:07:21 -04:00
2007-06-22 14:49:31 -04:00
2008-09-25 11:03:57 -04:00
2007-06-12 09:07:21 -04:00