[Cluster-devel] [gfs2-utils PATCH 25/47] fsck.gfs2: Check for interrupt when resolving duplicates
Bob Peterson
rpeterso at redhat.com
Tue May 14 16:21:48 UTC 2013
This patch adds another check for interrupts while resolving duplicate
block references in pass1b.
rhbz#902920
---
gfs2/fsck/pass1b.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/gfs2/fsck/pass1b.c b/gfs2/fsck/pass1b.c
index 56b77f5..7108bb4 100644
--- a/gfs2/fsck/pass1b.c
+++ b/gfs2/fsck/pass1b.c
@@ -459,6 +459,9 @@ static int resolve_dup_references(struct gfs2_sbd *sdp, struct duptree *b,
int found_good_ref = 0;
osi_list_foreach_safe(tmp, ref_list, x) {
+ if (skip_this_pass || fsck_abort)
+ return FSCK_OK;
+
id = osi_list_entry(tmp, struct inode_with_dups, list);
dh->b = b;
dh->id = id;
--
1.7.11.7
More information about the Cluster-devel
mailing list