提交 22de606a 编写于 作者: V Vlad Apostolov 提交者: Tim Shimmin

[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: NVlad Apostolov <vapo@sgi.com>
Signed-off-by: NTim Shimmin <tes@sgi.com>
上级 955e47ad
...@@ -637,6 +637,11 @@ xfs_bulkstat( ...@@ -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) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册