diff options
author | 2025-03-12 11:33:03 +0300 | |
---|---|---|
committer | 2025-03-12 13:00:28 +0100 | |
commit | 951d701ef1bbce4c5f88466f5e829fb3d5735856 (patch) | |
tree | 21f0542848c04ce36aba2d5eb6aa173c9ec7de57 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | gfs2: Convert gfs2_meta_read_endio() to use a folio (diff) | |
download | wireguard-linux-951d701ef1bbce4c5f88466f5e829fb3d5735856.tar.xz wireguard-linux-951d701ef1bbce4c5f88466f5e829fb3d5735856.zip |
gfs2: Fix a NULL vs IS_ERR() bug in gfs2_find_jhead()
The filemap_grab_folio() function doesn't return NULL, it returns error
pointers. Fix the check to match.
Fixes: 40829760096d ("gfs2: Convert gfs2_find_jhead() to use a folio")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions