diff options
author | 2015-02-24 18:57:18 +0100 | |
---|---|---|
committer | 2015-03-02 14:04:45 -0800 | |
commit | 1932b7be973b554ffe20a5bba6ffaed6fa995cdc (patch) | |
tree | 7ac067e4c7643336d9e58335eb7b36c4761c4646 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | Btrfs: do not ignore errors from btrfs_lookup_xattr in do_setxattr (diff) | |
download | wireguard-linux-1932b7be973b554ffe20a5bba6ffaed6fa995cdc.tar.xz wireguard-linux-1932b7be973b554ffe20a5bba6ffaed6fa995cdc.zip |
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: <stable@vger.kernel.org> # 3.6+
Fixes: d187663ef24c ("Btrfs: lock extents as we map them in DIO")
Signed-off-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions