diff options
author | Liu Bo <bo.li.liu@oracle.com> | 2013-04-22 10:53:47 +0000 |
---|---|---|
committer | Josef Bacik <jbacik@fusionio.com> | 2013-05-06 15:55:15 -0400 |
commit | ace68bac61b338e52924d87ebdd0fa8c7439f896 (patch) | |
tree | ffebb5c3de0dcc6e10e90f2c69f276a063edb049 /fs/btrfs/ioctl.c | |
parent | 6463fe58ea60cbcc3e799937dd0877466fc7b8d5 (diff) | |
download | blackbird-op-linux-ace68bac61b338e52924d87ebdd0fa8c7439f896.tar.gz blackbird-op-linux-ace68bac61b338e52924d87ebdd0fa8c7439f896.zip |
Btrfs: return free space in cow error path
Replace some BUG_ONs with proper handling and take allocated space back to
free space cache for later use.
We don't have to worry about extent maps since they'd be freed in releasepage
path.
Signed-off-by: Liu Bo <bo.li.liu@oracle.com>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Diffstat (limited to 'fs/btrfs/ioctl.c')
0 files changed, 0 insertions, 0 deletions