Btrfs: set EXTENT_BOUNDARY bit before marking extent delalloc.
authorYan Zheng <zheng.yan@oracle.com>
Fri, 19 Dec 2008 15:59:04 +0000 (10:59 -0500)
committerChris Mason <chris.mason@oracle.com>
Fri, 19 Dec 2008 15:59:04 +0000 (10:59 -0500)
commit1f80e4db0fcb3bdc2be51389baf558a9519682f0
tree3a47b6fda78aab8a1a4e9e7f021bb9126a298496
parent34bf63c4ddddd92bfba3387d134c37bf4426b2ce
Btrfs: set EXTENT_BOUNDARY bit before marking extent delalloc.

There is a race in relocate_inode_pages, it happens when
find_delalloc_range finds the delalloc extent before the
boundary bit is set. Thank you,

Signed-off-by: Yan Zheng <zheng.yan@oracle.com>
fs/btrfs/extent-tree.c