diff options
author | Bob Peterson <rpeterso@redhat.com> | 2019-05-07 14:27:44 -0400 |
---|---|---|
committer | Andreas Gruenbacher <agruenba@redhat.com> | 2019-06-27 15:26:35 -0400 |
commit | 04aea0ca14f025828c22d8ef586ff59d0be2f98b (patch) | |
tree | 0a166fe756e1f3bbabb592481919899c171921e6 /fs/gfs2/util.c | |
parent | d14e1ca305fc27dbceabad64bf5158b35d8864c8 (diff) |
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/util.c')
-rw-r--r-- | fs/gfs2/util.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/gfs2/util.c b/fs/gfs2/util.c index a7e55234211f..6aea0146e0c8 100644 --- a/fs/gfs2/util.c +++ b/fs/gfs2/util.c | |||
@@ -41,7 +41,7 @@ int gfs2_lm_withdraw(struct gfs2_sbd *sdp, const char *fmt, ...) | |||
41 | struct va_format vaf; | 41 | struct va_format vaf; |
42 | 42 | ||
43 | if (sdp->sd_args.ar_errors == GFS2_ERRORS_WITHDRAW && | 43 | if (sdp->sd_args.ar_errors == GFS2_ERRORS_WITHDRAW && |
44 | test_and_set_bit(SDF_SHUTDOWN, &sdp->sd_flags)) | 44 | test_and_set_bit(SDF_WITHDRAWN, &sdp->sd_flags)) |
45 | return 0; | 45 | return 0; |
46 | 46 | ||
47 | if (fmt) { | 47 | if (fmt) { |
@@ -256,7 +256,7 @@ void gfs2_io_error_bh_i(struct gfs2_sbd *sdp, struct buffer_head *bh, | |||
256 | const char *function, char *file, unsigned int line, | 256 | const char *function, char *file, unsigned int line, |
257 | bool withdraw) | 257 | bool withdraw) |
258 | { | 258 | { |
259 | if (!test_bit(SDF_SHUTDOWN, &sdp->sd_flags)) | 259 | if (!test_bit(SDF_WITHDRAWN, &sdp->sd_flags)) |
260 | fs_err(sdp, | 260 | fs_err(sdp, |
261 | "fatal: I/O error\n" | 261 | "fatal: I/O error\n" |
262 | " block = %llu\n" | 262 | " block = %llu\n" |