summaryrefslogtreecommitdiff
path: root/fs/xfs
diff options
context:
space:
mode:
authorVlad Apostolov <vapo@sgi.com>2006-09-28 11:06:21 +1000
committerTim Shimmin <tes@sgi.com>2006-09-28 11:06:21 +1000
commit6e73b418887675da18602550ca296211caeb3897 (patch)
tree52b5b7533038dd3f21854787917c37c97093a4f8 /fs/xfs
parent6f1f21684078884b62cfff2ea80a1a6c07f79824 (diff)
downloadlinux-3.10-6e73b418887675da18602550ca296211caeb3897.tar.gz
linux-3.10-6e73b418887675da18602550ca296211caeb3897.tar.bz2
linux-3.10-6e73b418887675da18602550ca296211caeb3897.zip
[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>
Diffstat (limited to 'fs/xfs')
-rw-r--r--fs/xfs/xfs_itable.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/xfs/xfs_itable.c b/fs/xfs/xfs_itable.c
index 80e5b96f502..7775ddc0b3c 100644
--- a/fs/xfs/xfs_itable.c
+++ b/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) {