summaryrefslogtreecommitdiff
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorJeff Layton <jlayton@kernel.org>2019-07-22 13:12:01 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-10-11 18:36:32 +0200
commit30a1ca18cbc46757939fd8e30bf9114ea7a55fcd (patch)
tree08890f07b1ead329b8b2f8c553e433d06dfc3d8f /net/lapb/lapb_timer.c
parent9250e1786418432a88d37e4df4b90700efa3fe6f (diff)
ceph: fetch cap_gen under spinlock in ceph_add_cap
[ Upstream commit 606d102327a45a49d293557527802ee7fbfd7af1 ] 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> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions