Al Viro 0abd1557e2 gfs2: fix an oops in gfs2_permission
In RCU mode, we might race with gfs2_evict_inode(), which zeroes
->i_gl.  Freeing of the object it points to is RCU-delayed, so
if we manage to fetch the pointer before it's been replaced with
NULL, we are fine.  Check if we'd fetched NULL and treat that
as "bail out and tell the caller to get out of RCU mode".

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
2023-10-03 16:47:21 +02:00
..
2023-01-19 09:24:27 +01:00
2023-04-18 14:40:12 +02:00
2023-09-18 16:00:50 +02:00
2023-09-18 23:13:21 +02:00
2023-10-03 16:47:21 +02:00
2023-08-02 09:13:09 -06:00
2023-09-05 15:58:16 +02:00
2023-09-05 15:58:17 +02:00
2023-10-03 16:24:00 +02:00
2023-09-18 16:26:24 +02:00
2023-10-03 16:47:21 +02:00
2023-09-05 13:00:28 -07:00
2023-09-05 15:58:17 +02:00
2023-07-03 22:30:26 +02:00