diff options
author | 2016-06-17 17:13:36 +0100 | |
---|---|---|
committer | 2016-08-01 07:23:20 +0100 | |
commit | 7969e77a73164b418da851cbae35cdd6c1b43fee (patch) | |
tree | d1d5180d948bf266587333c85e3581b21a7b7cbd /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Btrfs: send, fix failure to move directories with the same name around (diff) | |
download | linux-dev-7969e77a73164b418da851cbae35cdd6c1b43fee.tar.xz linux-dev-7969e77a73164b418da851cbae35cdd6c1b43fee.zip |
Btrfs: send, add missing error check for calls to path_loop()
The function path_loop() can return a negative integer, signaling an
error, 0 if there's no path loop and 1 if there's a path loop. We were
treating any non zero values as meaning that a path loop exists. Fix
this by explicitly checking for errors and gracefully return them to
user space.
Signed-off-by: Filipe Manana <fdmanana@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions