commit | 29bce2f3997a8dc5195b7a7724362d1e55df7bb2 | [log] [tgz] |
---|---|---|
author | Josef Bacik <jbacik@fb.com> | Fri Feb 07 12:21:23 2014 -0500 |
committer | Josef Bacik <jbacik@fb.com> | Mon Mar 10 15:15:53 2014 -0400 |
tree | 7a7c02ba24263b07ddb1d0716832ff985a4f74f3 | |
parent | c581afc8db4e9aaa8af2246bb72c1bf72825014d [diff] |
Btrfs: unlock extent and pages on error in cow_file_range When I converted the BUG_ON() for the free_space_cache_inode in cow_file_range I made it so we just return an error instead of unlocking all of our various stuff. This is a mistake and causes us to hang when we run into this. This patch fixes this problem. Thanks, Signed-off-by: Josef Bacik <jbacik@fb.com>