aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorSu Yue <suy.fnst@cn.fujitsu.com>2018-03-05 17:13:37 +0800
committerDavid Sterba <dsterba@suse.com>2018-03-26 15:09:43 +0200
commit005d67127fa9dfb3382f2c9e918feed7a243a7fe (patch)
tree8189d9865dc9d25b6a0de86f2ee7bf778126c39b /tools/perf/scripts/python/export-to-postgresql.py
parentbtrfs: rename btrfs_close_extra_device to btrfs_free_extra_devids (diff)
downloadwireguard-linux-005d67127fa9dfb3382f2c9e918feed7a243a7fe.tar.xz
wireguard-linux-005d67127fa9dfb3382f2c9e918feed7a243a7fe.zip
btrfs: adjust return values of btrfs_inode_by_name
Previously, btrfs_inode_by_name() returned 0 which left caller to check objectid of location even location if the type was invalid. Let btrfs_inode_by_name() return -EUCLEAN if a corrupted location of a dir entry is found. Removal of label out_err also simplifies the function. Signed-off-by: Su Yue <suy.fnst@cn.fujitsu.com> Reviewed-by: David Sterba <dsterba@suse.com> [ drop unlikely ] 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