diff options
author | Andreas Gruenbacher <agruenba@redhat.com> | 2024-10-04 14:10:47 +0200 |
---|---|---|
committer | Andreas Gruenbacher <agruenba@redhat.com> | 2024-11-05 12:39:29 +0100 |
commit | 03ff3781bf6c149554d88e7b702a3abd5e400dc0 (patch) | |
tree | 476cb9bb8f00ba380366a0f6e366ca533ca9d8c3 /scripts/generate_rust_analyzer.py | |
parent | 70cddf16cbfbb6f7fb4d68bb62765850a921450d (diff) |
gfs2: gfs2_evict_inode clarification
When function evict_should_delete() returns SHOULD_DEFER_EVICTION, gh is
never initialized, but that isn't obvious; if it did initialize gh and
then return SHOULD_DEFER_EVICTION, gfs2_evict_inode() would fail to
release it. To clarify the code, change gfs2_evict_inode() to always
check if gh needs to be released, no matter what evict_should_delete()
returns.
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions