[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>
This commit is contained in:
Vlad Apostolov 2006-09-28 11:04:24 +10:00 committed by Tim Shimmin
parent 955e47ad28
commit 22de606a0b

View File

@ -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) {