diff options
author | 2019-04-02 15:58:05 -0400 | |
---|---|---|
committer | 2019-05-07 19:22:38 +0200 | |
commit | 1199d7da2d29dac5e3983ea1078dbd4ab107e33f (patch) | |
tree | 38dae5f4e59d7dd8340ad76e185fad11d996bccd /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ceph: fix comment over ceph_drop_caps_for_unlink (diff) | |
download | wireguard-linux-1199d7da2d29dac5e3983ea1078dbd4ab107e33f.tar.xz wireguard-linux-1199d7da2d29dac5e3983ea1078dbd4ab107e33f.zip |
ceph: simplify arguments and return semantics of try_get_cap_refs
The return of this function is rather complex. It can return 0 or 1,
and in the case of a 1 return, the "err" pointer will be filled out.
This necessitates a lot of copying of values.
We can achieve the same effect by just returning 0, 1 or a negative
error code, and drop the "err" argument from this function.
Signed-off-by: Jeff Layton <jlayton@kernel.org>
Reviewed-by: "Yan, Zheng" <zyan@redhat.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions