summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorMisono Tomohiro <misono.tomohiro@jp.fujitsu.com>2018-05-21 07:57:27 +0300
committerDavid Sterba <dsterba@suse.com>2018-05-28 19:24:14 +0300
commitad1e3d5672ddce03eaa811c3f8d728acefac9a19 (patch)
tree3b23387d805cb1689ca6107a05012f340e9aa6b6 /tools/perf/scripts/python/export-to-postgresql.py
parent37becec95ac31b209eb1c8e096f1093a7db00f32 (diff)
downloadlinux-ad1e3d5672ddce03eaa811c3f8d728acefac9a19.tar.xz
btrfs: use error code returned by btrfs_read_fs_root_no_name in search ioctl
btrfs_read_fs_root_no_name() may return ERR_PTR(-ENOENT) or ERR_PTR(-ENOMEM) and therefore search_ioctl() and btrfs_search_path_in_tree() should use PTR_ERR() instead of -ENOENT, which all other callers of btrfs_read_fs_root_no_name() do. Drop the error message as it would be confusing, the caller of ioctl will likely interpret the error code and not look into the syslog. Signed-off-by: Tomohiro Misono <misono.tomohiro@jp.fujitsu.com> Reviewed-by: Qu Wenruo <wqu@suse.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-postgresql.py')
0 files changed, 0 insertions, 0 deletions