summaryrefslogtreecommitdiffstats
path: root/fs/gfs2/ops_fstype.c
diff options
context:
space:
mode:
authorBob Peterson2019-05-07 20:27:44 +0200
committerAndreas Gruenbacher2019-06-27 21:26:35 +0200
commit04aea0ca14f025828c22d8ef586ff59d0be2f98b (patch)
tree0a166fe756e1f3bbabb592481919899c171921e6 /fs/gfs2/ops_fstype.c
parentgfs2: Warn when a journal replay overwrites a rgrp with buffers (diff)
downloadkernel-qcow2-linux-04aea0ca14f025828c22d8ef586ff59d0be2f98b.tar.gz
kernel-qcow2-linux-04aea0ca14f025828c22d8ef586ff59d0be2f98b.tar.xz
kernel-qcow2-linux-04aea0ca14f025828c22d8ef586ff59d0be2f98b.zip
gfs2: Rename SDF_SHUTDOWN to SDF_WITHDRAWN
Before this patch, the superblock flag indicating when a file system is withdrawn was called SDF_SHUTDOWN. This patch simply renames it to the more obvious SDF_WITHDRAWN. Signed-off-by: Bob Peterson <rpeterso@redhat.com> Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Diffstat (limited to 'fs/gfs2/ops_fstype.c')
-rw-r--r--fs/gfs2/ops_fstype.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/gfs2/ops_fstype.c b/fs/gfs2/ops_fstype.c
index c199d1d813fc..4a8e5a7310f0 100644
--- a/fs/gfs2/ops_fstype.c
+++ b/fs/gfs2/ops_fstype.c
@@ -1004,7 +1004,7 @@ hostdata_error:
void gfs2_lm_unmount(struct gfs2_sbd *sdp)
{
const struct lm_lockops *lm = sdp->sd_lockstruct.ls_ops;
- if (likely(!test_bit(SDF_SHUTDOWN, &sdp->sd_flags)) &&
+ if (likely(!test_bit(SDF_WITHDRAWN, &sdp->sd_flags)) &&
lm->lm_unmount)
lm->lm_unmount(sdp);
}