aboutsummaryrefslogtreecommitdiff
path: root/fs/gfs2/glock.c
diff options
context:
space:
mode:
authorGravatar Andreas Gruenbacher <agruenba@redhat.com> 2023-08-23 15:53:13 +0200
committerGravatar Andreas Gruenbacher <agruenba@redhat.com> 2023-09-05 15:58:16 +0200
commite7beb8b6de1a6d6956fe0652d85cf356416ce4d9 (patch)
tree83d3d2ba3c34bb54fac9c7ff3c8a16a0bdfcbbe8 /fs/gfs2/glock.c
parentgfs2: Rename sd_{ glock => kill }_wait (diff)
downloadlinux-e7beb8b6de1a6d6956fe0652d85cf356416ce4d9.tar.gz
linux-e7beb8b6de1a6d6956fe0652d85cf356416ce4d9.tar.bz2
linux-e7beb8b6de1a6d6956fe0652d85cf356416ce4d9.zip
gfs2: Rename SDF_DEACTIVATING to SDF_KILL
Rename the SDF_DEACTIVATING flag to SDF_KILL to make it more obvious that this relates to the kill_sb filesystem operation. Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Diffstat (limited to 'fs/gfs2/glock.c')
-rw-r--r--fs/gfs2/glock.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/gfs2/glock.c b/fs/gfs2/glock.c
index e242745cf40f..9cbf8d98489a 100644
--- a/fs/gfs2/glock.c
+++ b/fs/gfs2/glock.c
@@ -1022,7 +1022,7 @@ static void delete_work_func(struct work_struct *work)
* step entirely.
*/
if (gfs2_try_evict(gl)) {
- if (test_bit(SDF_DEACTIVATING, &sdp->sd_flags))
+ if (test_bit(SDF_KILL, &sdp->sd_flags))
goto out;
if (gfs2_queue_verify_evict(gl))
return;
@@ -1035,7 +1035,7 @@ static void delete_work_func(struct work_struct *work)
GFS2_BLKST_UNLINKED);
if (IS_ERR(inode)) {
if (PTR_ERR(inode) == -EAGAIN &&
- !test_bit(SDF_DEACTIVATING, &sdp->sd_flags) &&
+ !test_bit(SDF_KILL, &sdp->sd_flags) &&
gfs2_queue_verify_evict(gl))
return;
} else {