diff options
| author | Andreas Gruenbacher <[email protected]> | 2024-10-04 12:10:47 +0000 |
|---|---|---|
| committer | Andreas Gruenbacher <[email protected]> | 2024-11-05 11:39:29 +0000 |
| commit | 03ff3781bf6c149554d88e7b702a3abd5e400dc0 (patch) | |
| tree | 476cb9bb8f00ba380366a0f6e366ca533ca9d8c3 /rust/helpers/vmalloc.c | |
| parent | gfs2: Make gfs2_inode_refresh static (diff) | |
| download | kernel-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
