]> err.no Git - linux-2.6/commitdiff
[XFS] 955947: Infinite loop in xfs_bulkstat() on formatter() error
authorVlad Apostolov <vapo@sgi.com>
Thu, 28 Sep 2006 01:06:21 +0000 (11:06 +1000)
committerTim Shimmin <tes@sgi.com>
Thu, 28 Sep 2006 01:06:21 +0000 (11:06 +1000)
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>
fs/xfs/xfs_itable.c

index 80e5b96f5027f8b7f378e822678c9b0d65741551..7775ddc0b3c6b105449bef21a3954741533129f4 100644 (file)
@@ -647,6 +647,8 @@ xfs_bulkstat(
                                         }
                                        else if (error == ENOMEM)
                                                ubleft = 0;
+                                       else
+                                               lastino = ino;
                                        continue;
                                }
                                if (fmterror == BULKSTAT_RV_GIVEUP) {