summaryrefslogtreecommitdiffstats
path: root/block/partitions
diff options
context:
space:
mode:
authorJeff Layton <jlayton@kernel.org>2020-03-20 21:45:45 +0100
committerIlya Dryomov <idryomov@gmail.com>2020-06-01 13:22:52 +0200
commitdc3da0461cc4b76f2d0c5b12247fcb3b520edbbf (patch)
treea4f408a4f23b07ff2aab8a9875cdc84257a39f8a /block/partitions
parentceph: document what protects i_dirty_item and i_flushing_item (diff)
downloadlinux-dc3da0461cc4b76f2d0c5b12247fcb3b520edbbf.tar.xz
linux-dc3da0461cc4b76f2d0c5b12247fcb3b520edbbf.zip
ceph: fix potential race in ceph_check_caps
Nothing ensures that session will still be valid by the time we dereference the pointer. Take and put a reference. In principle, we should always be able to get a reference here, but throw a warning if that's ever not the case. Signed-off-by: Jeff Layton <jlayton@kernel.org> Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'block/partitions')
0 files changed, 0 insertions, 0 deletions