Jeff Layton
3e4ca8bf58
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:18:08 +02:00
..
2020-08-19 08:16:24 +02:00
2019-07-19 11:33:22 -07:00
2020-09-09 19:12:34 +02:00
2020-09-09 19:12:23 +02:00
2019-10-25 00:03:11 -04:00
2019-08-30 07:27:17 -07:00
2019-08-30 07:27:17 -07:00
2020-10-01 13:18:04 +02:00
2020-06-03 08:21:11 +02:00
2020-10-01 13:18:08 +02:00
2020-10-01 13:17:21 +02:00
2019-09-19 09:42:37 -07:00
2020-05-27 17:46:30 +02:00
2019-11-23 21:44:49 -05:00
2020-03-18 07:17:53 +01:00
2020-09-17 13:47:55 +02:00
2019-09-03 09:30:56 -04:00
2020-08-19 08:16:21 +02:00
2020-02-28 17:22:26 +01:00
2019-07-19 10:42:02 -07:00
2019-08-30 07:27:17 -07:00
2020-08-19 08:16:26 +02:00
2019-11-10 11:56:05 -05:00
2020-09-09 19:12:30 +02:00
2020-10-01 13:17:42 +02:00
2020-10-01 13:17:21 +02:00
2020-06-17 16:40:36 +02:00
2019-08-30 07:27:17 -07:00
2019-07-10 18:43:43 -07:00
2020-10-01 13:18:02 +02:00
2020-10-01 13:17:20 +02:00
2019-05-21 10:50:46 +02:00
2020-04-17 10:50:22 +02:00
2019-05-12 17:52:13 -04:00
2019-08-30 08:11:25 -07:00
2020-09-03 11:26:48 +02:00
2020-10-01 13:17:15 +02:00
2019-09-19 09:42:37 -07:00
2020-09-03 11:26:56 +02:00
2020-08-26 10:40:56 +02:00
2019-09-19 09:42:37 -07:00
2020-08-19 08:16:12 +02:00
2019-07-03 17:52:09 -04:00
2020-08-21 13:05:37 +02:00
2020-10-01 13:17:52 +02:00
2019-05-21 10:50:46 +02:00
2020-10-01 13:17:43 +02:00
2020-06-17 16:40:29 +02:00
2019-05-21 10:50:46 +02:00
2020-06-17 16:40:24 +02:00
2020-02-11 04:35:12 -08:00
2020-08-21 13:05:26 +02:00
2019-08-30 08:11:25 -07:00
2019-07-19 10:42:02 -07:00
2020-08-21 13:05:29 +02:00
2020-07-22 09:33:12 +02:00
2020-10-01 13:17:48 +02:00
2020-08-19 08:16:27 +02:00
2019-08-30 07:27:17 -07:00
2019-08-30 07:27:17 -07:00
2020-01-12 12:21:37 +01:00
2019-09-12 21:05:34 -04:00
2020-02-24 08:37:00 +01:00
2020-08-26 10:40:51 +02:00
2019-09-19 10:06:57 -07:00
2019-07-19 10:42:02 -07:00
2019-08-30 07:27:18 -07:00
2019-10-12 20:49:07 -04:00
2020-10-01 13:17:51 +02:00
2020-02-24 08:36:44 +01:00
2020-08-21 13:05:37 +02:00
2019-09-17 11:48:24 -04:00
2019-08-12 19:33:50 -07:00
2020-10-01 13:17:49 +02:00
2020-06-17 16:40:24 +02:00
2019-07-19 10:42:02 -07:00
2020-02-11 04:35:12 -08:00
2019-05-21 10:50:45 +02:00
2019-05-30 11:26:32 -07:00
2020-06-03 08:21:27 +02:00
2019-05-21 10:50:45 +02:00
2020-09-03 11:26:39 +02:00
2019-07-19 10:42:02 -07:00
2019-05-21 10:50:45 +02:00
2020-10-01 13:17:55 +02:00
2020-09-03 11:26:57 +02:00
2020-01-14 20:08:18 +01:00
2019-05-30 11:29:21 -07:00
2020-01-09 10:20:05 +01:00
2019-06-19 17:09:55 +02:00
2020-05-14 07:58:27 +02:00
2019-08-30 19:31:09 -04:00
2020-03-05 16:43:36 +01:00
2020-10-01 13:17:19 +02:00
2019-05-21 10:50:45 +02:00
2019-10-14 15:04:01 -07:00
2020-01-12 12:21:37 +01:00
2020-02-11 04:35:37 -08:00
2020-09-09 19:12:28 +02:00
2020-10-01 13:17:47 +02:00
2019-08-07 21:51:47 -04:00
2019-08-19 11:00:39 -04:00
2020-05-27 17:46:12 +02:00
2020-04-17 10:50:21 +02:00
2019-09-06 21:28:49 +02:00
2019-09-12 21:06:14 -04:00
2019-07-16 22:52:37 -04:00
2019-05-21 10:50:45 +02:00
2020-09-03 11:27:04 +02:00
2019-07-19 10:42:02 -07:00
2020-03-25 08:25:58 +01:00
2020-01-17 19:48:21 +01:00
2020-09-03 11:27:11 +02:00
2019-12-17 19:55:30 +01:00
2019-09-18 16:59:14 -07:00
2019-06-24 09:16:47 +10:00
2020-04-01 11:02:17 +02:00
2020-03-25 08:25:41 +01:00
2019-09-18 16:59:14 -07:00
2019-05-21 10:50:45 +02:00
2019-07-16 22:52:37 -04:00
2020-01-17 19:48:21 +01:00
2020-03-05 16:43:48 +01:00
2019-10-16 23:15:09 -04:00
2019-05-30 11:26:32 -07:00
2019-05-25 18:00:06 -04:00
2020-03-18 07:17:51 +01:00
2019-05-25 18:00:07 -04:00
2020-05-02 08:48:44 +02:00
2019-05-30 11:29:53 -07:00
2019-05-21 10:50:45 +02:00
2019-09-06 21:28:49 +02:00
2020-02-11 04:35:23 -08:00
2020-01-29 16:45:31 +01:00
2019-07-16 19:23:25 -07:00
2019-08-13 16:06:52 -07:00
2020-08-26 10:40:58 +02:00
2019-12-17 19:56:52 +01:00
2019-05-21 10:50:45 +02:00
2019-10-03 14:21:35 -07:00
2020-05-06 08:15:15 +02:00
2019-05-14 09:47:50 -07:00
2019-08-01 20:51:23 +02:00
2020-01-04 19:18:32 +01:00
2020-02-11 04:35:12 -08:00
2020-08-11 15:33:39 +02:00