This is an automated email from the git hooks/post-receive script.
andyp pushed a commit to branch andyp-fsck_cx in repository gfs2-utils.
commit e83238c71724a27f567b96fb123790465d2d85f1 Author: Andrew Price anprice@redhat.com AuthorDate: Mon Aug 1 09:43:37 2022 +0100
fsck.gfs2: Remove unused query field from fsck_options
Signed-off-by: Andrew Price anprice@redhat.com --- gfs2/fsck/fsck.h | 1 - gfs2/fsck/util.c | 3 --- 2 files changed, 4 deletions(-)
diff --git a/gfs2/fsck/fsck.h b/gfs2/fsck/fsck.h index efcde8be..70ca1231 100644 --- a/gfs2/fsck/fsck.h +++ b/gfs2/fsck/fsck.h @@ -112,7 +112,6 @@ struct fsck_options { char *device; unsigned int yes:1; unsigned int no:1; - unsigned int query:1; unsigned int preen:1; unsigned int force:1; }; diff --git a/gfs2/fsck/util.c b/gfs2/fsck/util.c index 7beb63e9..8ff07d0e 100644 --- a/gfs2/fsck/util.c +++ b/gfs2/fsck/util.c @@ -175,7 +175,6 @@ int fsck_query(const char *format, ...) if (opts.no) return 0;
- opts.query = 1; while (1) { va_start(args, format); vprintf(format, args); @@ -211,8 +210,6 @@ int fsck_query(const char *format, ...) response); } } - - opts.query = 0; return ret; }