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

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