diff options
author | David Sterba <dsterba@suse.cz> | 2015-02-24 18:57:18 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-03-18 13:31:27 +0100 |
commit | d3decd5494369184b296698ffe597caf540944ce (patch) | |
tree | 88b3119cddf636e470f3c0b69b6ce0d90f128005 /fs/btrfs/file.c | |
parent | 293875f239a3813e5fca8f520ab14cb6b9308dca (diff) |
btrfs: fix lost return value due to variable shadowing
commit 1932b7be973b554ffe20a5bba6ffaed6fa995cdc upstream.
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.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/btrfs/file.c')
0 files changed, 0 insertions, 0 deletions