]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
gfs2: Add clean argument to lm_unmount hook
authorAndreas Gruenbacher <agruenba@redhat.com>
Thu, 17 Jul 2025 00:03:28 +0000 (02:03 +0200)
committerAndreas Gruenbacher <agruenba@redhat.com>
Wed, 26 Nov 2025 23:51:47 +0000 (23:51 +0000)
commit9334c73fb16b183a6d4af09ce1d445f7f89b8d49
treed305ef50f08d207efd51a80e0f82150c73cff744
parent94f56488c7e47579aae8f20323c43d27b7b5f4ef
gfs2: Add clean argument to lm_unmount hook

Add a 'clean' argument to ->lm_unmount() that indicates whether the
filesystem is clean or needs recovery.  Set clean to true for normal
unmounts, and to false for withdraws.

Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
fs/gfs2/glock.h
fs/gfs2/lock_dlm.c
fs/gfs2/ops_fstype.c
fs/gfs2/util.c