]> www.infradead.org Git - users/jedix/linux-maple.git/commit
gfs2: Rename dinode_demise to evict_behavior
authorAndreas Gruenbacher <agruenba@redhat.com>
Fri, 13 Sep 2024 22:37:03 +0000 (00:37 +0200)
committerAndreas Gruenbacher <agruenba@redhat.com>
Tue, 5 Nov 2024 11:39:28 +0000 (12:39 +0100)
commitc79ba4be351a06e0ac4c51143a83023bb37888d6
tree8f072c7b41de09871ea0c76fab293060daae9dfc
parent9fb794aac6ddd08a9c4982372250f06137696e90
gfs2: Rename dinode_demise to evict_behavior

Rename enum dinode_demise to evict_behavior and its items
SHOULD_DELETE_DINODE to EVICT_SHOULD_DELETE,
SHOULD_NOT_DELETE_DINODE to EVICT_SHOULD_SKIP_DELETE, and
SHOULD_DEFER_EVICTION to EVICT_SHOULD_DEFER_DELETE.

In gfs2_evict_inode(), add a separate variable of type enum
evict_behavior instead of implicitly casting to int.

Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
fs/gfs2/super.c