summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorAnand Jain <anand.jain@oracle.com>2018-11-11 22:22:24 +0800
committerDavid Sterba <dsterba@suse.com>2018-12-17 14:51:35 +0100
commit53e62fb5a4aedeff05aa1efd277de32dc765f4bf (patch)
tree108451ec04b515f5e429a4a48b8d1ff2a5fbfd66 /tools/perf/scripts/python/export-to-sqlite.py
parentfe97e2e173afb61f1bb889c45f9597102c9f4849 (diff)
btrfs: dev-replace: add explicit check for replace result "no error"
We recast the replace return status BTRFS_IOCTL_DEV_REPLACE_RESULT_SCRUB_INPROGRESS to 0, to indicate no error. And since BTRFS_IOCTL_DEV_REPLACE_RESULT_NO_ERROR should also return 0, which is also declared as 0, so we just return. Instead add it to the if statement so that there is enough clarity while reading the code. Signed-off-by: Anand Jain <anand.jain@oracle.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions