commit | db7f3436c1c186f8271018751fcb338cf3706e8d | [log] [tgz] |
---|---|---|
author | Josef Bacik <jbacik@fusionio.com> | Wed Aug 07 14:54:37 2013 -0400 |
committer | Chris Mason <chris.mason@fusionio.com> | Sun Sep 01 08:04:49 2013 -0400 |
tree | 100757837210358af57b870c5e54d1731692940b | |
parent | ebdad913aa9c86a63d3be28b4610e143204c6f3c [diff] |
Btrfs: deal with enomem in the rewind path We can get ENOMEM trying to allocate dummy bufs for the rewind operation of the tree mod log. Instead of BUG_ON()'ing in this case pass up ENOMEM. I looked back through the callers and I'm pretty sure I got everybody who did BUG_ON(ret) in this path. Thanks, Signed-off-by: Josef Bacik <jbacik@fusionio.com> Signed-off-by: Chris Mason <chris.mason@fusionio.com>