aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs
diff options
context:
space:
mode:
authorVlad Apostolov <vapo@sgi.com>2006-09-28 11:04:24 +1000
committerTim Shimmin <tes@sgi.com>2006-09-28 11:04:24 +1000
commit22de606a0b9623bf15752808f123848a65a6cc28 (patch)
treef4432677ca6c876b230caf8a0efb9bb3a49fd40e /fs/xfs
parent[XFS] Fixes the leak in reservation space because we weren't ungranting (diff)
downloadlinux-dev-22de606a0b9623bf15752808f123848a65a6cc28.tar.xz
linux-dev-22de606a0b9623bf15752808f123848a65a6cc28.zip
[XFS] pv 955157, rv bnaujok - break the loop on formatter() error
SGI-PV: 955157 SGI-Modid: xfs-linux-melb:xfs-kern:26866a 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.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/fs/xfs/xfs_itable.c b/fs/xfs/xfs_itable.c
index 0fbbd7b9c696..b9edbc65f364 100644
--- a/fs/xfs/xfs_itable.c
+++ b/fs/xfs/xfs_itable.c
@@ -637,6 +637,11 @@ xfs_bulkstat(
if (fmterror == BULKSTAT_RV_NOTHING) {
if (error == ENOMEM)
ubleft = 0;
+ else if (error) {
+ ubleft = 0;
+ rval = error;
+ break;
+ }
continue;
}
if (fmterror == BULKSTAT_RV_GIVEUP) {