[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:
parent
955e47ad28
commit
22de606a0b
|
@ -637,6 +637,11 @@ xfs_bulkstat(
|
||||||
if (fmterror == BULKSTAT_RV_NOTHING) {
|
if (fmterror == BULKSTAT_RV_NOTHING) {
|
||||||
if (error == ENOMEM)
|
if (error == ENOMEM)
|
||||||
ubleft = 0;
|
ubleft = 0;
|
||||||
|
else if (error) {
|
||||||
|
ubleft = 0;
|
||||||
|
rval = error;
|
||||||
|
break;
|
||||||
|
}
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (fmterror == BULKSTAT_RV_GIVEUP) {
|
if (fmterror == BULKSTAT_RV_GIVEUP) {
|
||||||
|
|
Loading…
Reference in New Issue