]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: Handle btrfs_set_extent_delalloc failure in relocate_file_extent_cluster
authorNikolay Borisov <nborisov@suse.com>
Wed, 31 Jan 2018 15:14:02 +0000 (17:14 +0200)
committerDavid Sterba <dsterba@suse.com>
Thu, 1 Mar 2018 15:16:12 +0000 (16:16 +0100)
commitc7ed2fecf5d592af28b2523231b5e970650b9432
tree266350ba2f098cb79c0cdb2305ee30a3a878f100
parent8154d8b7055d16d402e368311a814432134a93a6
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 <nborisov@suse.com>
Reviewed-by: Josef Bacik <jbacik@fb.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/relocation.c