Blame SOURCES/e2fsprogs-1.44.6-e2fsck-remove-an-potentially-ambiguous-dangling-else.patch

a2a4bc
From 90557d26c6282e8171b422966860eb5594b82eb5 Mon Sep 17 00:00:00 2001
a2a4bc
From: Theodore Ts'o <tytso@mit.edu>
a2a4bc
Date: Fri, 10 May 2019 19:21:03 -0400
a2a4bc
Subject: [PATCH 4/4] e2fsck: remove an potentially ambiguous dangling else
a2a4bc
 clause
a2a4bc
a2a4bc
This doesn't actually fix a bug or change behavior, but it removes a
a2a4bc
clang warning.
a2a4bc
a2a4bc
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
a2a4bc
---
a2a4bc
 e2fsck/pass5.c | 3 ++-
a2a4bc
 1 file changed, 2 insertions(+), 1 deletion(-)
a2a4bc
a2a4bc
diff --git a/e2fsck/pass5.c b/e2fsck/pass5.c
a2a4bc
index 81009097..3a5c88da 100644
a2a4bc
--- a/e2fsck/pass5.c
a2a4bc
+++ b/e2fsck/pass5.c
a2a4bc
@@ -886,11 +886,12 @@ static void check_inode_end(e2fsck_t ctx)
a2a4bc
 	 * be written back to disk.
a2a4bc
 	 */
a2a4bc
 check_intra_bg_tail:
a2a4bc
-	if (!asked && fs->flags & EXT2_FLAG_IBITMAP_TAIL_PROBLEM)
a2a4bc
+	if (!asked && fs->flags & EXT2_FLAG_IBITMAP_TAIL_PROBLEM) {
a2a4bc
 		if (fix_problem(ctx, PR_5_INODE_BMAP_PADDING, &pctx))
a2a4bc
 			ext2fs_mark_ib_dirty(fs);
a2a4bc
 		else
a2a4bc
 			ext2fs_unmark_valid(fs);
a2a4bc
+	}
a2a4bc
 }
a2a4bc
 
a2a4bc
 static void check_block_end(e2fsck_t ctx)
a2a4bc
-- 
a2a4bc
2.20.1
a2a4bc