Btrfs: fix a bug when llseek for delalloc bytes behind prealloc extents
authorLiu Bo <bo.li.liu@oracle.com>
Mon, 7 Jan 2013 10:10:12 +0000 (10:10 +0000)
committerJosef Bacik <josef@toxicpanda.com>
Mon, 14 Jan 2013 18:53:22 +0000 (13:53 -0500)
xfstests case 285 complains.

It it because btrfs did not try to find unwritten delalloc
bytes(only dirty pages, not yet writeback) behind prealloc
extents, it ends up finding nothing while we're with SEEK_DATA.

Signed-off-by: Liu Bo <bo.li.liu@oracle.com>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>

No differences found