Home
last modified time | relevance | path

Searched hist:"606 d1023" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/fs/ceph/
H A Dcaps.c606d1023 Mon Jul 22 12:12:01 CDT 2019 Jeff Layton <jlayton@kernel.org> 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>
606d1023 Mon Jul 22 12:12:01 CDT 2019 Jeff Layton <jlayton@kernel.org> 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>