aboutsummaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_itable.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/xfs/xfs_itable.c')
-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 0fbbd7b9c69..b9edbc65f36 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) {