From: Zhao Lei Date: Tue, 24 Feb 2015 12:07:44 +0000 (+0800) Subject: btrfs: add WARN_ON() to check is space_info op current X-Git-Tag: omap-for-v4.1/fixes-rc1~43^2~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=18d018ad2c899d3d9c503c25125d56046ed7d3ca;p=pandora-kernel.git btrfs: add WARN_ON() to check is space_info op current space_info's value calculation is some complex and easy to cause bug, add WARN_ON() to help debug. Changelog v1->v2: Put WARN_ON()s under the ENOSPC_DEBUG mount option. Suggested by: David Sterba Signed-off-by: Zhao Lei Signed-off-by: Chris Mason --- Reading git-diff-tree failed