From: Josef Bacik Date: Wed, 7 Aug 2013 18:54:37 +0000 (-0400) Subject: Btrfs: deal with enomem in the rewind path X-Git-Tag: v3.12-rc1~40^2~76 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=db7f3436c1c186f8271018751fcb338cf3706e8d;p=pandora-kernel.git 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 Signed-off-by: Chris Mason --- Reading git-diff-tree failed