From: Jeff Mahoney Date: Mon, 12 Mar 2012 15:03:00 +0000 (+0100) Subject: btrfs: replace many BUG_ONs with proper error handling X-Git-Tag: v3.4-rc1~22^2~13^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=79787eaab46121d4713ed03c8fc63b9ec3eaec76;p=pandora-kernel.git btrfs: replace many BUG_ONs with proper error handling btrfs currently handles most errors with BUG_ON. This patch is a work-in- progress but aims to handle most errors other than internal logic errors and ENOMEM more gracefully. This iteration prevents most crashes but can run into lockups with the page lock on occasion when the timing "works out." Signed-off-by: Jeff Mahoney --- Reading git-diff-tree failed