From: Liu Bo Date: Sat, 8 Sep 2012 02:01:28 +0000 (-0600) Subject: Btrfs: fix a bug in parsing return value in logical resolve X-Git-Tag: v3.7-rc1~71^2~58 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=69917e431210f8712fe050f47b7561e7dae89521;p=pandora-kernel.git Btrfs: fix a bug in parsing return value in logical resolve In logical resolve, we parse extent_from_logical()'s 'ret' as a kind of flag. It is possible to lose our errors because (-EXXXX & BTRFS_EXTENT_FLAG_TREE_BLOCK) is true. I'm not sure if it is on purpose, it just looks too hacky if it is. I'd rather use a real flag and a 'ret' to catch errors. Acked-by: Jan Schmidt Signed-off-by: Liu Bo --- Reading git-diff-tree failed