btrfs: Handle btrfs_set_extent_delalloc failure in relocate_file_extent_cluster
authorNikolay Borisov <[email protected]>
Wed, 31 Jan 2018 15:14:02 +0000 (17:14 +0200)
committerDavid Sterba <[email protected]>
Thu, 1 Mar 2018 15:16:12 +0000 (16:16 +0100)
commit765f3cebff0023d05d724374db8b63c01e07c499
tree266350ba2f098cb79c0cdb2305ee30a3a878f100
parentac01f26a27f10aace4bb89fd2c2c05a60c251832
btrfs: Handle btrfs_set_extent_delalloc failure in relocate_file_extent_cluster

Essentially duplicate the error handling from the above block which
handles the !PageUptodate(page) case and additionally clear
EXTENT_BOUNDARY.

Signed-off-by: Nikolay Borisov <[email protected]>
Reviewed-by: Josef Bacik <[email protected]>
Signed-off-by: David Sterba <[email protected]>
fs/btrfs/relocation.c