Message ID | 173197107024.920975.1049694801707645008.stgit@frogsfrogsfrogs (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | [1/2] xfs_repair: fix crasher in pf_queuing_worker | expand |
Looks good:
Reviewed-by: Christoph Hellwig <hch@lst.de>
diff --git a/repair/prefetch.c b/repair/prefetch.c index 998797e3696bac..0772ecef9d73eb 100644 --- a/repair/prefetch.c +++ b/repair/prefetch.c @@ -764,6 +764,8 @@ pf_queuing_worker( irec = next_ino_rec(irec); num_inos += XFS_INODES_PER_CHUNK; } + if (!irec) + break; if (args->dirs_only && cur_irec->ino_isa_dir == 0) continue;