diff options
Diffstat (limited to 'fs')
-rw-r--r-- | fs/xfs/xfs_itable.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/fs/xfs/xfs_itable.c b/fs/xfs/xfs_itable.c index ef8ea0589780..7765ff743e91 100644 --- a/fs/xfs/xfs_itable.c +++ b/fs/xfs/xfs_itable.c | |||
@@ -474,6 +474,10 @@ xfs_bulkstat( | |||
474 | */ | 474 | */ |
475 | agino = r.ir_startino + XFS_INODES_PER_CHUNK; | 475 | agino = r.ir_startino + XFS_INODES_PER_CHUNK; |
476 | error = xfs_btree_increment(cur, 0, &tmp); | 476 | error = xfs_btree_increment(cur, 0, &tmp); |
477 | if (error) { | ||
478 | end_of_ag = 1; | ||
479 | goto del_cursor; | ||
480 | } | ||
477 | cond_resched(); | 481 | cond_resched(); |
478 | } | 482 | } |
479 | 483 | ||