diff options
author | 2019-07-22 13:12:01 -0400 | |
---|---|---|
committer | 2019-09-16 12:06:24 +0200 | |
commit | 606d102327a45a49d293557527802ee7fbfd7af1 (patch) | |
tree | fe5f8976a9670517eaaeba958845392a21da94ba /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ceph: remove ceph_get_cap_mds and __ceph_get_cap_mds (diff) | |
download | wireguard-linux-606d102327a45a49d293557527802ee7fbfd7af1.tar.xz wireguard-linux-606d102327a45a49d293557527802ee7fbfd7af1.zip |
ceph: fetch cap_gen under spinlock in ceph_add_cap
It's protected by the s_gen_ttl_lock, so we should fetch under it
and ensure that we're using the same generation in both places.
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