From: David Sterba Date: Tue, 24 Feb 2015 17:57:18 +0000 (+0100) Subject: btrfs: fix lost return value due to variable shadowing X-Git-Tag: omap-for-v4.1/wl12xx-dt~54^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1932b7be973b554ffe20a5bba6ffaed6fa995cdc;p=pandora-kernel.git btrfs: fix lost return value due to variable shadowing A block-local variable stores error code but btrfs_get_blocks_direct may not return it in the end as there's a ret defined in the function scope. CC: # 3.6+ Fixes: d187663ef24c ("Btrfs: lock extents as we map them in DIO") Signed-off-by: David Sterba Signed-off-by: Chris Mason --- Reading git-diff-tree failed