aboutsummaryrefslogtreecommitdiff
path: root/fs/gfs2/file.c
diff options
context:
space:
mode:
authorGravatar Bob Peterson <rpeterso@redhat.com> 2019-05-07 13:27:44 -0500
committerGravatar Andreas Gruenbacher <agruenba@redhat.com> 2019-06-27 21:26:35 +0200
commit04aea0ca14f025828c22d8ef586ff59d0be2f98b (patch)
tree0a166fe756e1f3bbabb592481919899c171921e6 /fs/gfs2/file.c
parentgfs2: Warn when a journal replay overwrites a rgrp with buffers (diff)
downloadlinux-04aea0ca14f025828c22d8ef586ff59d0be2f98b.tar.gz
linux-04aea0ca14f025828c22d8ef586ff59d0be2f98b.tar.bz2
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/file.c')
-rw-r--r--fs/gfs2/file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/gfs2/file.c b/fs/gfs2/file.c
index d174b1f8fd08..28bdbeb11030 100644
--- a/fs/gfs2/file.c
+++ b/fs/gfs2/file.c
@@ -1166,7 +1166,7 @@ static int gfs2_lock(struct file *file, int cmd, struct file_lock *fl)
cmd = F_SETLK;
fl->fl_type = F_UNLCK;
}
- if (unlikely(test_bit(SDF_SHUTDOWN, &sdp->sd_flags))) {
+ if (unlikely(test_bit(SDF_WITHDRAWN, &sdp->sd_flags))) {
if (fl->fl_type == F_UNLCK)
locks_lock_file_wait(file, fl);
return -EIO;