diff options
author | Andreas Gruenbacher <agruenba@redhat.com> | 2024-11-19 12:44:56 +0300 |
---|---|---|
committer | Andreas Gruenbacher <agruenba@redhat.com> | 2024-11-19 14:33:20 +0300 |
commit | c5b7a2400edc458b22133d5e5394bea26eab1923 (patch) | |
tree | 6af3f65d08d4e67efbeafa09b790802a2c8c8fde /rust/helpers/helpers.c | |
parent | b6900ce15191ff9e219f1974b5db107ae02bb387 (diff) | |
download | linux-c5b7a2400edc458b22133d5e5394bea26eab1923.tar.xz |
gfs2: Only defer deletes when we have an iopen glock
The mechanism to defer deleting unlinked inodes is tied to
delete_work_func(), which is tied to iopen glocks. When we don't have
an iopen glock, we must carry out deletes immediately instead.
Fixes a NULL pointer dereference in gfs2_evict_inode().
Fixes: 8c21c2c71e66 ("gfs2: Call gfs2_queue_verify_delete from gfs2_evict_inode")
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions