aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-bit.c
diff options
context:
space:
mode:
authorJeff Layton <[email protected]>2019-07-22 13:12:01 -0400
committerIlya Dryomov <[email protected]>2019-09-16 12:06:24 +0200
commit606d102327a45a49d293557527802ee7fbfd7af1 (patch)
treefe5f8976a9670517eaaeba958845392a21da94ba /lib/mpi/mpi-bit.c
parent5de16b30d3121eca26c8c898cc0eff090e21dda6 (diff)
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 <[email protected]> Reviewed-by: "Yan, Zheng" <[email protected]> Signed-off-by: Ilya Dryomov <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions