Explorar o código

[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>
Vlad Apostolov %!s(int64=19) %!d(string=hai) anos
pai
achega
6e73b41888
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      fs/xfs/xfs_itable.c

+ 2 - 0
fs/xfs/xfs_itable.c

@@ -647,6 +647,8 @@ xfs_bulkstat(
                                         }
 					else if (error == ENOMEM)
 						ubleft = 0;
+					else
+						lastino = ino;
 					continue;
 				}
 				if (fmterror == BULKSTAT_RV_GIVEUP) {