]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
gfs2: Return enum evict_behavior from gfs2_upgrade_iopen_glock
authorAndreas Gruenbacher <agruenba@redhat.com>
Thu, 12 Sep 2024 23:17:40 +0000 (01:17 +0200)
committerAndreas Gruenbacher <agruenba@redhat.com>
Tue, 5 Nov 2024 11:39:28 +0000 (12:39 +0100)
commita94dafe87d5fdded799fc25b82b123fb93959421
tree8e63658e2a2659f3a9de7c8f476e1018174e580b
parentc79ba4be351a06e0ac4c51143a83023bb37888d6
gfs2: Return enum evict_behavior from gfs2_upgrade_iopen_glock

In case an iopen glock cannot be upgraded, function
gfs2_upgrade_iopen_glock() needs to communicate to gfs2_evict_inode()
whether deleting the inode should be deferred or skipped altogether.
Change the function to return the appropriate enum evict_behavior value
to indicate that.

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