From: David Sterba Date: Tue, 19 Nov 2013 12:36:21 +0000 (+0100) Subject: btrfs: replace BUG in can_modify_feature X-Git-Tag: v3.14-rc1~29^2~116 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cc37bb04201217b7acb11213e16cb5530c30da8f;p=pandora-kernel.git btrfs: replace BUG in can_modify_feature We don't need to crash hard here, it's just reading a sysfs file. The values considered in switch are from a fixed set, the default case should not happen at all. Signed-off-by: David Sterba Signed-off-by: Josef Bacik Signed-off-by: Chris Mason --- Reading git-diff-tree failed