diff options
-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) { |