summaryrefslogtreecommitdiff
path: root/rust/helpers
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruenba@redhat.com>2024-10-04 15:10:47 +0300
committerAndreas Gruenbacher <agruenba@redhat.com>2024-11-05 14:39:29 +0300
commit03ff3781bf6c149554d88e7b702a3abd5e400dc0 (patch)
tree476cb9bb8f00ba380366a0f6e366ca533ca9d8c3 /rust/helpers
parent70cddf16cbfbb6f7fb4d68bb62765850a921450d (diff)
downloadlinux-03ff3781bf6c149554d88e7b702a3abd5e400dc0.tar.xz
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 'rust/helpers')
0 files changed, 0 insertions, 0 deletions