summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorVlad Apostolov <vapo@sgi.com>2006-09-28 03:06:21 +0200
committerTim Shimmin <tes@sgi.com>2006-09-28 03:06:21 +0200
commit6e73b418887675da18602550ca296211caeb3897 (patch)
tree52b5b7533038dd3f21854787917c37c97093a4f8 /fs
parent[XFS] pv 956241, author: nathans, rv: vapo - make ino validation checks (diff)
downloadlinux-6e73b418887675da18602550ca296211caeb3897.tar.xz
linux-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')
-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 80e5b96f5027..7775ddc0b3c6 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) {