Commit 6e73b418887675da18602550ca296211caeb3897

Authored by Vlad Apostolov
Committed by Tim Shimmin
1 parent 6f1f216840

[XFS] 955947: Infinite loop in xfs_bulkstat() on formatter() error

SGI-PV: 955947
SGI-Modid: xfs-linux-melb:xfs-kern:26986a

Signed-off-by: Vlad Apostolov <vapo@sgi.com>
Signed-off-by: Tim Shimmin <tes@sgi.com>

Showing 1 changed file with 2 additions and 0 deletions Side-by-side Diff

... ... @@ -647,6 +647,8 @@
647 647 }
648 648 else if (error == ENOMEM)
649 649 ubleft = 0;
  650 + else
  651 + lastino = ino;
650 652 continue;
651 653 }
652 654 if (fmterror == BULKSTAT_RV_GIVEUP) {