Jeff Layton
75bd1d78e8
ceph: fix potential race in ceph_check_caps
...
[ Upstream commit dc3da0461cc4b76f2d0c5b12247fcb3b520edbbf ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-10-01 13:12:46 +02:00
..
2020-08-21 09:48:15 +02:00
2019-08-06 19:05:21 +02:00
2020-09-09 19:03:12 +02:00
2020-04-02 16:34:33 +02:00
2019-12-17 20:37:24 +01:00
2018-12-01 09:42:51 +01:00
2020-10-01 13:12:45 +02:00
2020-06-03 08:17:53 +02:00
2020-10-01 13:12:46 +02:00
2020-10-01 13:12:30 +02:00
2019-08-06 19:05:23 +02:00
2020-05-27 16:42:56 +02:00
2018-11-13 11:15:12 -08:00
2019-07-31 07:28:22 +02:00
2019-05-08 07:20:49 +02:00
2019-03-23 14:35:21 +01:00
2020-08-21 09:48:13 +02:00
2020-03-11 18:02:51 +01:00
2019-12-05 15:37:28 +01:00
2020-01-27 14:46:06 +01:00
2020-08-21 09:48:18 +02:00
2020-10-01 13:12:36 +02:00
2020-09-23 10:46:34 +02:00
2020-06-20 10:25:05 +02:00
2018-12-17 09:28:53 +01:00
2020-10-01 13:12:44 +02:00
2020-10-01 13:12:30 +02:00
2019-12-01 09:13:57 +01:00
2020-04-24 08:00:45 +02:00
2019-05-31 06:47:12 -07:00
2018-10-03 17:00:57 -07:00
2020-09-03 11:22:29 +02:00
2020-08-26 10:29:56 +02:00
2020-01-27 14:46:26 +01:00
2019-12-17 20:38:50 +01:00
2019-12-17 20:38:15 +01:00
2020-08-21 09:48:15 +02:00
2018-03-28 18:24:43 +02:00
2020-10-01 13:12:40 +02:00
2018-02-03 17:39:08 +01:00
2020-07-09 09:36:31 +02:00
2020-06-20 10:25:01 +02:00
2020-01-12 12:11:59 +01:00
2020-08-21 09:48:19 +02:00
2020-02-28 16:36:08 +01:00
2020-06-20 10:25:04 +02:00
2020-06-20 10:25:04 +02:00
2020-01-09 10:17:55 +01:00
2020-01-12 12:11:59 +01:00
2020-02-28 16:36:08 +01:00
2020-08-26 10:29:54 +02:00
2018-09-05 09:26:32 +02:00
2018-09-05 09:26:41 +02:00
2018-12-17 09:28:48 +01:00
2020-10-01 13:12:40 +02:00
2020-02-28 16:36:02 +01:00
2020-08-21 09:48:22 +02:00
2020-10-01 13:12:37 +02:00
2018-12-21 14:13:04 +01:00
2020-06-03 08:18:03 +02:00
2019-07-03 13:15:59 +02:00
2018-06-26 08:06:33 +08:00
2019-11-06 12:42:59 +01:00
2020-10-01 13:12:41 +02:00
2020-09-03 11:22:29 +02:00
2020-01-14 20:05:39 +01:00
2020-01-09 10:17:58 +01:00
2020-05-20 08:16:58 +02:00
2020-03-11 18:02:43 +01:00
2019-02-06 17:31:34 +01:00
2019-04-27 09:35:41 +02:00
2020-01-12 12:11:59 +01:00
2020-09-09 19:03:09 +02:00
2020-05-20 08:17:16 +02:00
2017-12-17 15:07:59 +01:00
2020-05-27 16:42:51 +02:00
2020-04-24 08:00:43 +02:00
2020-09-03 11:22:32 +02:00
2020-04-02 16:34:21 +02:00
2018-11-10 07:48:33 -08:00
2019-12-17 20:38:57 +01:00
2020-04-02 16:34:35 +02:00
2020-01-09 10:17:55 +01:00
2018-02-22 15:42:25 +01:00
2020-03-11 18:02:53 +01:00
2020-05-02 17:24:20 +02:00
2020-03-20 10:54:16 +01:00
2019-05-04 09:15:18 +02:00
2020-05-02 17:24:47 +02:00
2019-12-01 09:13:51 +01:00
2020-01-04 14:00:04 +01:00
2018-02-22 15:42:28 +01:00
2019-05-04 09:15:18 +02:00
2019-10-11 18:18:48 +02:00
2018-05-30 07:51:47 +02:00
2020-01-04 13:59:58 +01:00
2020-08-21 09:48:00 +02:00