aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/vmalloc.c
diff options
context:
space:
mode:
authorAndreas Gruenbacher <[email protected]>2024-10-04 12:10:47 +0000
committerAndreas Gruenbacher <[email protected]>2024-11-05 11:39:29 +0000
commit03ff3781bf6c149554d88e7b702a3abd5e400dc0 (patch)
tree476cb9bb8f00ba380366a0f6e366ca533ca9d8c3 /rust/helpers/vmalloc.c
parentgfs2: Make gfs2_inode_refresh static (diff)
downloadkernel-03ff3781bf6c149554d88e7b702a3abd5e400dc0.tar.gz
kernel-03ff3781bf6c149554d88e7b702a3abd5e400dc0.zip
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 <[email protected]>
Diffstat (limited to 'rust/helpers/vmalloc.c')
0 files changed, 0 insertions, 0 deletions