diff options
author | Vlad Apostolov <vapo@sgi.com> | 2006-09-27 21:04:24 -0400 |
---|---|---|
committer | Tim Shimmin <tes@sgi.com> | 2006-09-27 21:04:24 -0400 |
commit | 22de606a0b9623bf15752808f123848a65a6cc28 (patch) | |
tree | f4432677ca6c876b230caf8a0efb9bb3a49fd40e /fs/xfs | |
parent | 955e47ad28b5b255ddcd7eb9cb814a269dc6e991 (diff) |
[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.c | 5 |
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( | |||
637 | if (fmterror == BULKSTAT_RV_NOTHING) { | 637 | if (fmterror == BULKSTAT_RV_NOTHING) { |
638 | if (error == ENOMEM) | 638 | if (error == ENOMEM) |
639 | ubleft = 0; | 639 | ubleft = 0; |
640 | else if (error) { | ||
641 | ubleft = 0; | ||
642 | rval = error; | ||
643 | break; | ||
644 | } | ||
640 | continue; | 645 | continue; |
641 | } | 646 | } |
642 | if (fmterror == BULKSTAT_RV_GIVEUP) { | 647 | if (fmterror == BULKSTAT_RV_GIVEUP) { |