Markus Elfring 55534c094f gfs2: Move variable assignment behind a null pointer check in inode_go_dump
Since commit 27a2660f1ef9 ("gfs2: Dump nrpages for inodes and their
glocks"), inode_go_dump() computes the address of inode within ip before
checking if ip is NULL.  This isn't a bug by itself, but it can give
rise to bugs later.  Avoid that by checking if ip is NULL first.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
2023-04-18 14:58:32 +02:00
..
2023-01-19 09:24:28 +01:00
2023-01-19 09:24:27 +01:00
2023-04-18 14:40:12 +02:00
2023-04-18 14:40:12 +02:00
2022-08-06 14:44:49 -07:00
2023-02-20 11:53:11 -08:00
2023-01-31 22:40:24 +01:00
2023-01-31 22:40:24 +01:00
2023-03-27 14:42:16 +02:00
2022-08-03 10:35:43 -07:00
2022-09-11 20:26:06 -07:00
2023-02-24 12:58:55 -08:00
2023-01-19 09:24:28 +01:00